diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-03 15:36:32 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-03 15:37:10 -0400 |
| commit | 22b6712c240fea0643cfc01acfce1fda1f125b8a (patch) | |
| tree | fb8ac2302793c76d3640aab7d3f74f7a57c01933 /vim/.config/nvim/lsp/ccls.lua | |
nix init
Diffstat (limited to 'vim/.config/nvim/lsp/ccls.lua')
| -rw-r--r-- | vim/.config/nvim/lsp/ccls.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/ccls.lua b/vim/.config/nvim/lsp/ccls.lua new file mode 100644 index 0000000..f0a08c5 --- /dev/null +++ b/vim/.config/nvim/lsp/ccls.lua @@ -0,0 +1,26 @@ +return { + cmd = { + 'clangd', + -- '--clang-tidy', + -- '--background-index', + -- '--offset-encoding=utf-8', + }, + filetypes = { 'arduino' }, + root_markers = { + '.clangd', + '.ccls', + 'compile_commands.json', + 'compile_flags.txt', + 'configure.ac' -- AutoTools + }, + single_file_support = true, + capabilities = { + textDocument = { + completion = { + editsNearCursor = true, + }, + }, + offsetEncoding = { 'utf-8', 'utf-16' }, + }, +} + |
