diff options
Diffstat (limited to '.config/nvim/lsp/clangd.lua')
| -rw-r--r-- | .config/nvim/lsp/clangd.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lsp/clangd.lua b/.config/nvim/lsp/clangd.lua new file mode 100644 index 0000000..ad2b669 --- /dev/null +++ b/.config/nvim/lsp/clangd.lua @@ -0,0 +1,13 @@ +return { + cmd = { "clangd" }, + root_markers = { ".clangd", "compile_commands.json" }, + init_options = { clangdFilestatus = true }, + filetypes = { "c", "cpp" }, + capabilities = { + textDocument = { + semanticTokens = { + multilineTokenSupport = true, + } + } + } +} |
