Use a help function to get user config

This commit is contained in:
leafOfTree
2020-07-17 08:41:51 +08:00
parent fe9c81657a
commit b22a41fb6b
6 changed files with 22 additions and 34 deletions

View File

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