diff options
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/autocmd.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/autocmd.vim b/vim/autocmd.vim index d673b27..c2bab95 100644 --- a/vim/autocmd.vim +++ b/vim/autocmd.vim @@ -15,3 +15,9 @@ autocmd FileType javascript setlocal shiftwidth=2 tabstop=2 " Clean up trailing whitespaces on save. autocmd BufWritePre * :%s/\s\+$//e +" If there is a .lvimrc, source it. Note that this works best by calling vim on +" the root of your project. +if filereadable(".lvimrc") + so .lvimrc +endif + |
