Fix foldexpr on config and custom blocks

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

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'