summaryrefslogtreecommitdiffstats
path: root/indent/solidity.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/solidity.vim')
-rw-r--r--indent/solidity.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/indent/solidity.vim b/indent/solidity.vim
index 7744f7a7..26cb4c14 100644
--- a/indent/solidity.vim
+++ b/indent/solidity.vim
@@ -19,7 +19,7 @@ setlocal nosmartindent
" Now, set up our indentation expression and keys that trigger it.
setlocal indentexpr=GetSolidityIndent()
-setlocal indentkeys=0{,0},0),0],0\,,!^F,o,O,e
+setlocal indentkeys=0{,0},0),0],0\,,!^F,o,O,e,0*
" Only define the function once.
if exists("*GetSolidityIndent")
@@ -41,7 +41,7 @@ let s:syng_strcom = 'string\|regex\|comment\c'
let s:syng_string = 'regex\c'
" Regex of syntax group names that are strings or documentation.
-let s:syng_multiline = 'comment\c'
+let s:syng_multiline = 'comment\|natspecblock\c'
" Regex of syntax group names that are line comment.
let s:syng_linecom = 'linecomment\c'