clangd to use g++
This commit is contained in:
parent
e6688019fd
commit
abaca67308
|
@ -135,7 +135,13 @@ return { -- LSP Configuration & Plugins
|
||||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
local servers = {
|
local servers = {
|
||||||
ocamllsp = {},
|
ocamllsp = {},
|
||||||
clangd = {},
|
clangd = {
|
||||||
|
cmd = {
|
||||||
|
'clangd',
|
||||||
|
'--query-driver=/opt/homebrew/bin/g++-14,/opt/homebrew/bin/gcc-14',
|
||||||
|
'--header-insertion=never',
|
||||||
|
},
|
||||||
|
},
|
||||||
bashls = {},
|
bashls = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
pyright = {
|
pyright = {
|
||||||
|
|
Loading…
Reference in New Issue