diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-06 18:09:46 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-06 18:09:46 +1200 |
commit | a1d8401051fe5107d21bf71ebbc6964e57d46314 (patch) | |
tree | 92e42302f1ff47128cae10f827b3033d7a05d45f /vim | |
parent | Merge branch 'release/v0.48.0' (diff) | |
download | dotfiles-a1d8401051fe5107d21bf71ebbc6964e57d46314.tar.gz dotfiles-a1d8401051fe5107d21bf71ebbc6964e57d46314.zip |
Add compatibility guard to filetype.vim
Diffstat (limited to 'vim')
-rw-r--r-- | vim/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim index a76321a2..ccb38ca3 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -3,6 +3,9 @@ if exists('g:did_load_filetypes') finish endif let g:did_load_filetypes = 1 +if !has('autocmd') || &compatible + finish +endif " Use our own filetype detection rules augroup filetypedetect |