From 6c614c021343c499e36ba9e88b84105f91d36d89 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Fri, 16 Nov 2018 11:17:17 +0000 Subject: [PATCH] setlocal complete option --- vim/ftplugin/vue.vim | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/vim/ftplugin/vue.vim b/vim/ftplugin/vue.vim index f741f3d..d491440 100644 --- a/vim/ftplugin/vue.vim +++ b/vim/ftplugin/vue.vim @@ -1,9 +1,6 @@ -" set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','') -setlocal includeexpr=JsIncludeExpr(v:fname) +set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','') setlocal suffixesadd=.js,.vue,.scss - -" default include: ^\s*#\s*include -" set include=^\s*#\s*@?import +setlocal complete=.,w,b,u,i setlocal include=\\%(\\[^;\"']*\\)[\"']\\zs[^\"']*