aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:04:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:04:25 +1200
commit89813d2eef781fc19a76f1ed59e5019c68432a65 (patch)
treeb7af8f8a2ae6adbff6ce722a7d507b550a7ed0cb
parentMerge branch 'release/v5.37.0' into develop (diff)
downloaddotfiles-89813d2eef781fc19a76f1ed59e5019c68432a65.tar.gz
dotfiles-89813d2eef781fc19a76f1ed59e5019c68432a65.zip
Check correct scope for filetype load guard var
Oh god, I spent way too long figuring this out...
-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