From 3b610359f00039453bc9ab18697ac55442ed744e Mon Sep 17 00:00:00 2001 From: Huanming Peng Date: Mon, 13 Nov 2017 14:09:42 +0800 Subject: [PATCH] Fixed plugin 'vim-rtags' initialization errors Plugin 'lyuts/vim-rtags' has not supported python3 yet. Issue Link [Python 3 support requirement](https://github.com/lyuts/vim-rtags/issues/86). --- autoload/SpaceVim/layers/lang/c.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/layers/lang/c.vim b/autoload/SpaceVim/layers/lang/c.vim index 30a6d87cc..652c891bb 100644 --- a/autoload/SpaceVim/layers/lang/c.vim +++ b/autoload/SpaceVim/layers/lang/c.vim @@ -47,7 +47,7 @@ function! SpaceVim#layers#lang#c#plugins() abort else call add(plugins, ['Rip-Rip/clang_complete']) endif - call add(plugins, ['lyuts/vim-rtags', { 'if' : has('python3')}]) + call add(plugins, ['lyuts/vim-rtags', { 'if' : has('python')}]) return plugins endfunction