setlocal complete option
This commit is contained in:
parent
4003bd1f55
commit
6c614c0213
|
@ -1,9 +1,6 @@
|
||||||
" set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
|
set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
|
||||||
setlocal includeexpr=JsIncludeExpr(v:fname)
|
|
||||||
|
|
||||||
setlocal suffixesadd=.js,.vue,.scss
|
setlocal suffixesadd=.js,.vue,.scss
|
||||||
|
setlocal complete=.,w,b,u,i
|
||||||
" default include: ^\s*#\s*include
|
|
||||||
" set include=^\s*#\s*@?import
|
|
||||||
|
|
||||||
setlocal include=\\%(\\<require\\s*(\\s*\\\|\\<import\\>[^;\"']*\\)[\"']\\zs[^\"']*
|
setlocal include=\\%(\\<require\\s*(\\s*\\\|\\<import\\>[^;\"']*\\)[\"']\\zs[^\"']*
|
||||||
|
|
Loading…
Reference in New Issue