This commit is contained in:
Adam Stankiewicz
2021-12-21 14:41:23 +01:00
parent 918610d427
commit 87a26c5bf1
154 changed files with 2479 additions and 2192 deletions

View File

@@ -183,7 +183,7 @@ function! GetSvelteIndent()
call s:Log('... or current line is pug template tag')
let ind = 0
elseif s:has_init_indent
if s:SynSvelteScriptOrStyle(cursyn) && ind < 1
if s:SynSvelteScriptOrStyle(cursyn) && ind == 0
call s:Log('add initial indent')
let ind = &sw
endif