diff options
| author | gyoder <70408179+gyoder@users.noreply.github.com> | 2025-06-14 11:41:23 +0200 |
|---|---|---|
| committer | gyoder <70408179+gyoder@users.noreply.github.com> | 2025-06-14 11:41:23 +0200 |
| commit | bdf3cdecda3d112b14e3ceb50ce4f88862813270 (patch) | |
| tree | aec5cd7764ff726740426dd9e4897e8cdcbf97b6 /vim/.config/nvim/lsp/ccls.lua | |
| parent | d6d6dab3806f88e27990936e83c7b74d08215a9d (diff) | |
added existing nvim config
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' }, + }, +} + |
