Fix svelte branch name, closes #522

This commit is contained in:
Adam Stankiewicz
2020-08-14 19:15:07 +02:00
parent 34e01b8b62
commit a3bdbcdb3c
13 changed files with 346 additions and 15 deletions

View File

@@ -49,6 +49,16 @@ function! TerraformIndent(lnum)
let thisindent -= &shiftwidth
endif
" If the previous line starts a block comment /*, increase by one
if prevline =~# '/\*'
let thisindent += 1
endif
" If the previous line ends a block comment */, decrease by one
if prevline =~# '\*/'
let thisindent -= 1
endif
return thisindent
endfunction