diff options
| author | triethyl <triethylammonium@pm.me> | 2026-03-12 19:34:28 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2026-03-12 19:34:28 -0400 |
| commit | 3969c0706238898ccce79a993fc866f099a2cadd (patch) | |
| tree | bce9a3763fdd6be1ad8480cd7d674d6f3e2f5ee8 | |
| parent | fea1f4afd4b6f16f55927e79fa35b8d9e4f71a7c (diff) | |
neovim: reorganize ccls config
| -rw-r--r-- | pkgs/custom-neovim/config/lua/lsp.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/custom-neovim/config/lua/lsp.lua b/pkgs/custom-neovim/config/lua/lsp.lua index 1816aba..0b3627e 100644 --- a/pkgs/custom-neovim/config/lua/lsp.lua +++ b/pkgs/custom-neovim/config/lua/lsp.lua @@ -38,11 +38,11 @@ vim.lsp.enable("nixd") vim.lsp.config("ccls", { cmd = { 'ccls' }, filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' }, - root_markers = { 'compile_commands.json', '.ccls', '.git' }, offset_encoding = 'utf-32', - -- ccls does not support sending a null root directory - -- workspace_required = true, - workspace_required = false, + + -- Set workspace + root_markers = { 'compile_commands.json', '.ccls', '.git' }, + workspace_required = true, }) vim.lsp.enable("ccls") |
