mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:20:05 +08:00
Add config for completor and clang2
This commit is contained in:
parent
148649b669
commit
cb3e340ec7
@ -67,6 +67,11 @@ function! SpaceVim#layers#lang#c#set_variable(var) abort
|
||||
let s:use_libclang = get(a:var,
|
||||
\ 'use_libclang',
|
||||
\ 'clang')
|
||||
|
||||
if has_key(a:var, 'clang_executable')
|
||||
let g:completor_clang_binary = a:var.clang_executable
|
||||
let g:deoplete#sources#clang#executable = a:var.clang_executable
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:language_specified_mappings() abort
|
||||
|
Loading…
Reference in New Issue
Block a user