From 518d733369fb6f2e4652e9649a78546ce6493079 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 17 Oct 2020 17:40:10 +0200 Subject: Make sure custom scripts.vim are respected as well --- plugin/polyglot.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim index 7cfa1069..27e12b77 100644 --- a/plugin/polyglot.vim +++ b/plugin/polyglot.vim @@ -1,3 +1,9 @@ -if !exists("did_load_polyglot") +" Turn on filetype plugins (:help filetype-plugin). +if has('autocmd') && !(exists("did_load_filetypes") && exists("did_indent_on")) filetype plugin indent on endif + +" Enable syntax highlighting. +if has('syntax') && !exists('g:syntax_on') + syntax enable +endif -- cgit v1.2.3