summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lsp/clangd.lua
diff options
context:
space:
mode:
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"}}}