diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-09 02:10:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-09 02:10:44 +1200 |
commit | f5d909b640142a1198b0d26ae5604dc636f72d04 (patch) | |
tree | 4d171875f24e33a4a3a51d28d827740c024446d6 /vim/vimrc | |
parent | Revert :setglobal changes (diff) | |
download | dotfiles-f5d909b640142a1198b0d26ae5604dc636f72d04.tar.gz dotfiles-f5d909b640142a1198b0d26ae5604dc636f72d04.zip |
Use !=# for &filetype match
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |