mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:40:05 +08:00
Reg key bindings for cpp
This commit is contained in:
parent
06fa149581
commit
73b4fd4f91
@ -65,6 +65,8 @@ endfunction
|
||||
function! SpaceVim#layers#lang#c#config() abort
|
||||
call SpaceVim#plugins#runner#reg_runner('c', ['gcc -o #TEMP# %s', '#TEMP#'])
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('c', funcref('s:language_specified_mappings'))
|
||||
call SpaceVim#plugins#runner#reg_runner('cpp', ['g++ -o #TEMP# %s', '#TEMP#'])
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('cpp', funcref('s:language_specified_mappings'))
|
||||
call SpaceVim#plugins#projectmanager#reg_callback(funcref('s:update_clang_flag'))
|
||||
if executable('clang')
|
||||
let g:neomake_c_enabled_makers = ['clang']
|
||||
|
Loading…
Reference in New Issue
Block a user