From 1bd7ee194b9aa7ad8f4adf777be6296f0767436e Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 18 Aug 2024 23:47:56 -0400 Subject: [PATCH] Disable MatchTagAlways if python isn't available --- init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.vim b/init.vim index 0f336ec..460c459 100644 --- a/init.vim +++ b/init.vim @@ -55,6 +55,11 @@ if !g:enablecompletion call add(g:pathogen_disabled, "vim-snippets") endif +"don't load MatchTagAlways if python isn't available +if !has('python3') + call add(g:pathogen_disabled, 'MatchTagAlways') +endif + "use pathogen to load plugins that haven't been disabled runtime bundle/vim-pathogen/autoload/pathogen.vim