From 8744831a6aaf9652627ca546b2c656452eef396b Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Fri, 24 Apr 2015 21:05:48 -0500 Subject: [PATCH] fix .vimrc.local checking to actually work If a .vimrc.local file exists in the current directory or any of its parents, it will be sourced allowing for per-project vim settings --- vim/vimrc.symlink | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 8c325f3..19aff52 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -76,7 +76,7 @@ if has('autocmd') && !exists('autocommands_loaded') autocmd BufNewFile,BufReadPost *.md set filetype=markdown let g:markdown_fenced_languages = ['css', 'javascript', 'js=javascript', 'json=javascript', 'stylus', 'html'] - autocmd! BufEnter * call ApplyLocalSettings(expand(':p:h')) + " autocmd! BufEnter * call ApplyLocalSettings(expand(':p:h')) endif " code folding settings @@ -433,8 +433,6 @@ let g:ctrlp_working_path_mode = 2 " airline options -" let g:airline_left_sep='' -" let g:airline_right_sep='' let g:airline_powerline_fonts=1 let g:airline_left_sep='' let g:airline_right_sep='' @@ -455,3 +453,5 @@ if (has("gui_running")) let g:airline_powerline_fonts=0 let g:airline_theme='solarized' endif + +call ApplyLocalSettings(expand('.'))