This commit is contained in:
ManjaroOne666 2018-10-21 09:25:46 +01:00
commit 865855a0da

9
vimrc
View file

@ -820,6 +820,15 @@ function! SaveAndExecute(ex_command) abort "{{{
" setlocal nomodifiable
endfunction
"}}}
function! JsIncludeExpr(file)
" substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
echom v:fname
return substitute(substitute(a:file,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
endfunction
"}}}
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""