mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
Change to clang2
This commit is contained in:
parent
c4058ac727
commit
76937c968c
@ -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
|
||||
|
@ -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', '')
|
||||
|
Loading…
Reference in New Issue
Block a user