From b77c5f11070ecb2ff343aa18b4ea859e6168f16c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 17 Feb 2022 04:31:35 +0100 Subject: Update --- indent/solidity.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indent/solidity.vim') 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' -- cgit v1.2.3