aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8aa53791..6e607523 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -143,7 +143,7 @@ filetype plugin indent on
" they've been loaded.
"
function! s:FileTypeReload() abort
- if exists('did_load_filetypes')
+ if exists('g:did_load_filetypes')
doautocmd filetypedetect BufRead
endif
endfunction