Support fold-syntax foldmethod

This commit is contained in:
leafOfTree
2019-08-27 16:15:10 +08:00
parent 3de7d87284
commit 728e293c29
3 changed files with 18 additions and 16 deletions

View File

@@ -3,8 +3,8 @@
" Config {{{
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let s:use_foldexpr = !exists("g:vim_vue_plugin_use_foldexpr")
\ || g:vim_vue_plugin_use_foldexpr == 1
let s:use_foldexpr = exists("g:vim_vue_plugin_use_foldexpr")
\ && g:vim_vue_plugin_use_foldexpr == 1
"}}}
if !s:use_foldexpr | finish | endif