aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-09 02:10:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-09 02:10:44 +1200
commitf5d909b640142a1198b0d26ae5604dc636f72d04 (patch)
tree4d171875f24e33a4a3a51d28d827740c024446d6 /vim/vimrc
parentc63915c829affced69f20d0ea0bcd32a71088d68 (diff)
downloaddotfiles-f5d909b640142a1198b0d26ae5604dc636f72d04.tar.gz
dotfiles-f5d909b640142a1198b0d26ae5604dc636f72d04.zip
Use !=# for &filetype match
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