From 7ed2303648bf83bb081d9bd863660ebf2344ce47 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 24 Sep 2025 04:19:28 +0200 Subject: Squashed 'common/config/nvim/' changes from 2a8020a..966d12a 966d12a Update/Overhaul git-subtree-dir: common/config/nvim git-subtree-split: 966d12ac730c83da90d60ab24eae539b2ea69441 --- 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