diff options
Diffstat (limited to 'lsp/clangd.lua')
| -rw-r--r-- | lsp/clangd.lua | 5 |
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 |
