From 966d12ac730c83da90d60ab24eae539b2ea69441 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 24 Sep 2025 00:14:04 +0200 Subject: Update/Overhaul --- lsp/clangd.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lsp/clangd.lua (limited to 'lsp/clangd.lua') 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 -- cgit v1.2.3