Disable clangd header insertions
This commit is contained in:
@@ -14,5 +14,11 @@ return {
|
|||||||
},
|
},
|
||||||
-- mappings to be set up on attaching of a language server
|
-- mappings to be set up on attaching of a language server
|
||||||
mappings = {},
|
mappings = {},
|
||||||
|
---@diagnostic disable: missing-fields
|
||||||
|
config = {
|
||||||
|
clangd = {
|
||||||
|
cmd = { "clangd", "--header-insertion=never"}, -- Disable auto includes
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user