From ae15a682a1ec8a6131dec93a2d750db3794c194f Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sun, 10 Nov 2019 09:17:53 +1100 Subject: [PATCH] Defer loading of vim-marked to the end, since it needs to run after vim-polyglot --- config/vim/plugins.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/vim/plugins.vim b/config/vim/plugins.vim index a5c01ec..3c63cd5 100644 --- a/config/vim/plugins.vim +++ b/config/vim/plugins.vim @@ -89,7 +89,9 @@ call Plug('alx741/yesod.vim') call Plug('pbrisbin/vim-syntax-shakespeare') if has('macunix') - call Plug('itspriddle/vim-marked') + " We rename this plugin to make sure it loads AFTER vim-polyglot, + " since it won't work properly if it's loaded first. + call Plug('itspriddle/vim-marked', {'name': 'zzvim-marked'}) endif call PlugEnd()