This commit is contained in:
ManjaroOne666 2018-10-21 09:25:46 +01:00
parent 9abc94cb65
commit 865855a0da
1 changed files with 9 additions and 0 deletions

9
vimrc
View File

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