This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
vimfiles/plugin/vimproj.vim

17 lines
384 B
VimL

" Read project-specific settings from the current working directory when
" loading files.
"
" This plugin is experimental and thus is only enabled if explicitly requested
" by the user
if !exists("g:enable_vimproject")
finish
endif
function! LoadProjectVim()
if filereadable(".project.vim")
source .project.vim
endif
endfunction
autocmd BufReadPre * call LoadProjectVim()