Fix foldexpr on config and custom blocks

This commit is contained in:
leafOfTree committed 2021-04-06 13:37:00 +08:00
1 parent 11c04aaf7b
commit 59e9825606
2 files changed
+8 -8

No files matched your search

+1 -2
View File
@@ -13,8 +13,7 @@ if exists("loaded_matchit")
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif
" Indent correctly with template string for vim-javascript/builtin
" Indent correctly with template string for vim-javascript/built-in
" indentexpr
let b:syng_str = '^\%(.*template\)\@!.*string\|special'
let b:syng_strcom = '^\%(.*template\)\@!.*string\|comment\|regex\|special\|doc'