From 3969c0706238898ccce79a993fc866f099a2cadd Mon Sep 17 00:00:00 2001 From: triethyl Date: Thu, 12 Mar 2026 19:34:28 -0400 Subject: neovim: reorganize ccls config --- pkgs/custom-neovim/config/lua/lsp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/custom-neovim') 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") -- cgit v1.2.3