summaryrefslogtreecommitdiffstats
path: root/indent/solidity.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2022-02-17 04:31:35 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2022-02-17 04:31:45 +0100
commitb77c5f11070ecb2ff343aa18b4ea859e6168f16c (patch)
treec93d347b096ce19556f369428913b697e6aafa00 /indent/solidity.vim
parent2c5af8f89d3e61e04e761c07a1f043b0f35203c6 (diff)
downloadvim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.tar.gz
vim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.zip
Update
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'