summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-02 03:46:08 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-02 03:46:08 +0200
commit5bd9f16476dbefc44ad23df08268d66bb938107f (patch)
tree6a7d02527f3e30894fd53072174fb3c68049ba9d /ftdetect
parent94ec9c38e744241e48fb8d75ae6e8811bc73fc59 (diff)
downloadvim-polyglot-5bd9f16476dbefc44ad23df08268d66bb938107f.tar.gz
vim-polyglot-5bd9f16476dbefc44ad23df08268d66bb938107f.zip
Disable vim-polyglot for compatible mode
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index b3d04eff..2441272c 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -3,6 +3,11 @@
" Maintainer: Adam Stankiewicz <sheerun@sher.pl>
" URL: https://github.com/sheerun/vim-polyglot
+" We are not supporting non-compatible mode
+if &compatible
+ finish
+endif
+
" Listen very carefully, I will say this only once
if exists("did_load_polyglot")
finish