aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 199dd85b..3678e375 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -303,7 +303,7 @@ runtime! config/*.vim
" If we reloaded, reload filetype detection for the active buffer too, so that
" any local settings for it are restored
if exists('g:loaded_vimrc')
- if &filetype != ''
+ if &filetype !=# ''
doautocmd filetypedetect BufRead
endif
echomsg 'Reloaded vimrc: '.$MYVIMRC