Add svelte support, closes #410

This commit is contained in:
Adam Stankiewicz
2019-06-14 16:07:20 +02:00
parent 2edc785a5e
commit 6b169212f8
10 changed files with 213 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ if exists("g:rst_style") && g:rst_style != 0
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
endif
if has('patch-7.3.867') " Introduced the TextChanged event.
if g:rst_fold_enabled != 0 && has('patch-7.3.867') " Introduced the TextChanged event.
setlocal foldmethod=expr
setlocal foldexpr=RstFold#GetRstFold()
setlocal foldtext=RstFold#GetRstFoldText()