We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e559d3 commit f0ec773Copy full SHA for f0ec773
plugins/lsp/default.nix
@@ -202,9 +202,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
202
lib.concatMapStringsSep "\n" (
203
server:
204
let
205
- updates = lib.concatMapStringsSep "\n" (name: ''
206
- client.server_capabilities.${name} = ${lib.nixvim.toLuaObject server.capabilities.${name}}
207
- '') (builtins.attrNames server.capabilities);
+ updates = lib.concatMapAttrsStringsSep "\n" (name: enabled: ''
+ client.server_capabilities.${name} = ${lib.nixvim.toLuaObject enabled}
+ '') server.capabilities;
208
in
209
''
210
if client.name == "${server.name}" then
0 commit comments