mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 23:49:19 +08:00
Fix cpp runner default option (#3850)
This commit is contained in:
parent
5d9be7f19d
commit
a8fa1701db
@ -153,7 +153,7 @@ function! SpaceVim#layers#lang#c#config() abort
|
||||
let runner2 = {
|
||||
\ 'exe' : 'g++',
|
||||
\ 'targetopt' : '-o',
|
||||
\ 'opt' : ['-std=' . s:clang_std.cpp] + s:clang_flag + ['-xc', '-'],
|
||||
\ 'opt' : ['-std=' . s:clang_std.cpp] + s:clang_flag + ['-xc++', '-'],
|
||||
\ 'usestdin' : 1,
|
||||
\ }
|
||||
call SpaceVim#plugins#runner#reg_runner('cpp', [runner2, '#TEMP#'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user