1
0
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:
wsdjeg 2017-12-04 00:32:46 +08:00
parent 148649b669
commit cb3e340ec7

View File

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