1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Change to clang2

This commit is contained in:
wsdjeg 2017-01-18 23:56:06 +08:00
parent c4058ac727
commit 76937c968c
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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', '')