Skip to content

Commit 4a6f16a

Browse files
authored
White space fixes
1 parent 19b4e24 commit 4a6f16a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ftplugin/svelte.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ let b:did_ftplugin = 1
66
let b:syng_str = '^\%(.*template\)\@!.*string\|special'
77
let b:syng_strcom = '^\%(.*template\)\@!.*string\|comment\|regex\|special\|doc'
88

9-
let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin . " | " : "") . "unlet b:syng_str b:syng_strcom"
9+
let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin . " | " : "") .
10+
\ "unlet b:syng_str b:syng_strcom"
1011

1112
if !has('nvim')
1213
setlocal matchpairs+=<:>
13-
let b:undo_ftplugin .= "| setlocal matchpairs<"
14+
let b:undo_ftplugin .= " | setlocal matchpairs<"
1415
endif
1516

1617
if exists("loaded_matchit")
@@ -21,7 +22,7 @@ if exists("loaded_matchit")
2122
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>,' .
2223
\ '{#\(if\|each\)[^}]*}:{\:else[^}]*}:{\/\(if\|each\)},' .
2324
\ '{#await[^}]*}:{\:then[^}]*}:{\/await},'
24-
let b:undo_ftplugin .= " | unlet b:match_ignorecase b:match_words"
25+
let b:undo_ftplugin .= " | unlet! b:match_ignorecase b:match_words"
2526
endif
2627

2728
if executable('npx') && !empty(globpath(&runtimepath, 'compiler/svelte-check.vim'))

0 commit comments

Comments
 (0)