fix: maybe? who knows
This commit is contained in:
parent
85ee398810
commit
2f5b161f71
|
@ -6,12 +6,13 @@ local util = require 'lspconfig.util'
|
||||||
function M.get_servers()
|
function M.get_servers()
|
||||||
return {
|
return {
|
||||||
-- C/C++ Language Server
|
-- C/C++ Language Server
|
||||||
-- The clangd from dev-shells is already wrapped with --query-driver and --enable-config
|
|
||||||
clangd = {
|
clangd = {
|
||||||
cmd = {
|
cmd = {
|
||||||
'clangd',
|
'clangd',
|
||||||
|
'--query-driver=/nix/store/*/bin/clang*',
|
||||||
'--background-index',
|
'--background-index',
|
||||||
'--clang-tidy',
|
'--clang-tidy',
|
||||||
|
'--enable-config',
|
||||||
'--fallback-style=llvm',
|
'--fallback-style=llvm',
|
||||||
'--function-arg-placeholders',
|
'--function-arg-placeholders',
|
||||||
'--header-insertion-decorators',
|
'--header-insertion-decorators',
|
||||||
|
|
Loading…
Reference in New Issue