aboutsummaryrefslogtreecommitdiff
path: root/lsp/clangd.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-09-24 00:14:04 +0200
committersrdusr <trevorgray@srdusr.com>2025-09-24 00:14:04 +0200
commit966d12ac730c83da90d60ab24eae539b2ea69441 (patch)
tree702f5f832796b572d0faee31c0eb15507e91f49a /lsp/clangd.lua
parent2a8020a2e9b7ef2ee77ddee14892127a4eb95187 (diff)
downloaddotfiles-966d12ac730c83da90d60ab24eae539b2ea69441.tar.gz
dotfiles-966d12ac730c83da90d60ab24eae539b2ea69441.zip
Update/Overhaul
Diffstat (limited to 'lsp/clangd.lua')
-rw-r--r--lsp/clangd.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lsp/clangd.lua b/lsp/clangd.lua
new file mode 100644
index 0000000..4a19600
--- /dev/null
+++ b/lsp/clangd.lua
@@ -0,0 +1,5 @@
+return {
+ cmd = { "clangd", "--background-index", "--clang-tidy", "--header-insertion=iwyu" },
+ filetypes = { "c", "cpp", "objc", "objcpp", "cuda", "proto" },
+ root_markers = { ".clangd", ".clang-tidy", ".clang-format", "compile_commands.json", "compile_flags.txt", "configure.ac" }
+} \ No newline at end of file