summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lsp/clangd.lua
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2025-04-02 13:55:07 +0200
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2025-04-02 13:55:07 +0200
commitd2f4d5dec7eededffc956fe6745139d98d695509 (patch)
treeacd79555cdd16ae02794ce8b36bd0f153ee9d6b9 /dot_config/nvim/lsp/clangd.lua
parentnvim/conjure: move fennel support to nfnl (diff)
nvim: upgrade configs for v0.11
Bunch of stuff bundled with it. `lsp/` subject to changes.
Diffstat (limited to 'dot_config/nvim/lsp/clangd.lua')
-rw-r--r--dot_config/nvim/lsp/clangd.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_config/nvim/lsp/clangd.lua b/dot_config/nvim/lsp/clangd.lua
new file mode 100644
index 0000000..0a4f4e5
--- /dev/null
+++ b/dot_config/nvim/lsp/clangd.lua
@@ -0,0 +1,2 @@
+-- [nfnl] Compiled from lsp/clangd.fnl by https://github.com/Olical/nfnl, do not edit.
+return {cmd = {"clangd", "--background-index"}, filetypes = {"c", "cpp"}, root_markers = {".clangd", ".clang-format", "compile_commands.json", "compile_flags.txt"}, flags = {debounce_text_changes = 20}, capabilities = {textDocument = {completion = {editsNearCursor = true}}, offsetEncoding = {"utf-8", "utf-16"}}}