aboutsummaryrefslogtreecommitdiff
path: root/vim/filetype.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/filetype.vim')
-rw-r--r--vim/filetype.vim9
1 files changed, 3 insertions, 6 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 4f3839ef..2e20b744 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -566,11 +566,8 @@ augroup filetypedetect
\| runtime scripts.vim
\|endif
- " If supported, on leaving insert mode, check whether the first line was
- " changed and looks like a shebang format, and if so, re-run filetype
- " detection
- if v:version > 700
- autocmd InsertLeave * call s:CheckShebang()
- endif
+ " On leaving insert mode, check whether the first line was changed and looks
+ " like a shebang format, and if so, re-run filetype detection
+ autocmd InsertLeave * call s:CheckShebang()
augroup END