Commit d714fadc authored by Murukesh Mohanan's avatar Murukesh Mohanan

plugin update

parent 7560c839
YouCompleteMe @ 5ee7bd2c
Subproject commit d05bf551a677ac70d5b6de707a7174a97dccd4dd Subproject commit 5ee7bd2c807384ac51074f8212a4aec5364627b9
airline @ c88f04cd
Subproject commit fb76dfbca1fbc4ae5a946835135cb32b72be6a66 Subproject commit c88f04cd1abecbc2190dff9241eda67868389032
syntastic @ de0106e8
Subproject commit d1a179d750bd1d136d7f38e69f2c5b8439886de7 Subproject commit de0106e839e6ee21a5dd3c42f1abb7d79d931bdd
vim-go @ a1cfa117
Subproject commit b85b550c6cf3c838db5990a3b202069964429f05 Subproject commit a1cfa1175303942ca8cd32454d324a9e56b046fa
vimtex @ 664b7259
Subproject commit 0212c94e31f953378092249bc791eaaa4c5ccb1a Subproject commit 664b7259ce7b408e1b3affb93f307c0395eb8bbd
...@@ -166,6 +166,7 @@ endif ...@@ -166,6 +166,7 @@ endif
function! FindInPath(name) function! FindInPath(name)
" Force creation of new file for paths beginning with ./ " Force creation of new file for paths beginning with ./
if expand('%') !~ '^[.~]\?/' if expand('%') !~ '^[.~]\?/'
try
let path=&path let path=&path
" Add any extra directories to the normal search path " Add any extra directories to the normal search path
set path+=~,~/.vim,/etc set path+=~,~/.vim,/etc
...@@ -175,6 +176,9 @@ function! FindInPath(name) ...@@ -175,6 +176,9 @@ function! FindInPath(name)
" Restore 'path' and 'bufhidden' to their normal values " Restore 'path' and 'bufhidden' to their normal values
let &path=path let &path=path
set bufhidden< set bufhidden<
catch /^Vim\%((\a\+)\)\=:E345/
return 0
endtry
endif endif
endfunction endfunction
autocmd BufNewFile * nested call FindInPath(expand('<afile>')) autocmd BufNewFile * nested call FindInPath(expand('<afile>'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment