From 87a26c5bf169bafbee837e2323f24cfb07e35250 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 21 Dec 2021 14:41:23 +0100 Subject: Update --- indent/svelte.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indent/svelte.vim') diff --git a/indent/svelte.vim b/indent/svelte.vim index 047d1479..147df65b 100644 --- a/indent/svelte.vim +++ b/indent/svelte.vim @@ -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 -- cgit v1.2.3