diff --git a/autoload/SpaceVim/layers/lang/c.vim b/autoload/SpaceVim/layers/lang/c.vim index 20d07d818..6fb28facd 100644 --- a/autoload/SpaceVim/layers/lang/c.vim +++ b/autoload/SpaceVim/layers/lang/c.vim @@ -9,7 +9,7 @@ function! SpaceVim#layers#lang#c#plugins() abort let plugins = [] if has('nvim') - call add(plugins, ['zchee/deoplete-clang']) + call add(plugins, ['tweekmonster/deoplete-clang2']) else call add(plugins, ['Rip-Rip/clang_complete']) endif diff --git a/config/plugins/deoplete.vim b/config/plugins/deoplete.vim index 9baf62b26..ee511fbcd 100644 --- a/config/plugins/deoplete.vim +++ b/config/plugins/deoplete.vim @@ -17,7 +17,9 @@ let g:deoplete#omni_patterns = get(g:, 'deoplete#omni_patterns', {}) let g:deoplete#omni_patterns.php = '->\|::' let g:deoplete#ignore_sources = {} let g:deoplete#ignore_sources.go = ['omni'] +let g:deoplete#ignore_sources.c = ['omni'] call deoplete#custom#set('go', 'mark', '') +call deoplete#custom#set('clang2', 'mark', '') if g:spacevim_enable_javacomplete2_py let g:deoplete#ignore_sources.java = ['omni'] call deoplete#custom#set('javacomplete2', 'mark', '')