vim/ftplugin/vue.vim

9 lines
273 B
VimL
Raw Normal View History

2018-12-12 09:02:12 +00:00
set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
setlocal suffixesadd=.js,.vue,.scss
setlocal complete=.,w,b,u,i
setlocal include=\\%(\\<require\\s*(\\s*\\\|\\<import\\>[^;\"']*\\)[\"']\\zs[^\"']*
2019-06-05 07:29:52 +00:00
setlocal foldnestmax=3