update
This commit is contained in:
parent
9abc94cb65
commit
865855a0da
9
vimrc
9
vimrc
|
@ -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
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in New Issue