From 5bd9f16476dbefc44ad23df08268d66bb938107f Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 2 Oct 2020 03:46:08 +0200 Subject: Disable vim-polyglot for compatible mode --- ftdetect/polyglot.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ftdetect') 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 " 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 -- cgit v1.2.3