nvim: lsp: disable header insert in clangd
This commit is contained in:
parent
9df850751b
commit
20e99cbeed
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,11 @@ local lsp_on_init = function(client)
|
|||
end
|
||||
|
||||
local server_opts = setmetatable({
|
||||
clangd = function(opts)
|
||||
return vim.tbl_deep_extend("force", opts, {
|
||||
cmd = { "clangd", "--header-insertion=never" },
|
||||
})
|
||||
end,
|
||||
lua_ls = function(opts)
|
||||
return vim.tbl_deep_extend("force", opts, {
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Reference in a new issue