mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
please for the love of god. clangd stop adding random headers
This commit is contained in:
@@ -287,14 +287,16 @@
|
|||||||
filetypes = { "c","cpp","objc","objcpp" },
|
filetypes = { "c","cpp","objc","objcpp" },
|
||||||
on_attach = on_attach ,
|
on_attach = on_attach ,
|
||||||
init_options = {
|
init_options = {
|
||||||
|
|
||||||
clangdFileStatus = true,
|
clangdFileStatus = true,
|
||||||
usePlaceholders = true,
|
usePlaceholders = true,
|
||||||
completeUnimported = false, -- this adds a bunch of #include even thought they are #included in another header file
|
completeUnimported = false, -- this adds a bunch of #include even thought they are #included in another header file
|
||||||
headerInsertion = false,
|
headerInsertion = false,
|
||||||
headerInsertionDecorators = false,
|
headerInsertionDecorators = false,
|
||||||
|
addDependencyHeaders = false,
|
||||||
semanticHighlighting = true}
|
semanticHighlighting = true}
|
||||||
})
|
})
|
||||||
vim.lsp.config("nixd", {
|
vim.lsp.config("nixd", {
|
||||||
cmd = { "nixd" },
|
cmd = { "nixd" },
|
||||||
filetyypes = { "nix" },
|
filetyypes = { "nix" },
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|||||||
Reference in New Issue
Block a user