lspconfig: fix missing capabilities in language modules

see #1134
This commit is contained in:
Ching Pei Yang 2025-09-13 16:45:14 +02:00
commit a79cf658f9
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -15,6 +15,9 @@ in {
{ {
vim = { vim = {
startPlugins = ["nvim-lspconfig"]; startPlugins = ["nvim-lspconfig"];
# TODO: we need this pre-0.8 to get the `capabilities` variable in lua,
# does it make sense to remove this after 0.8?
lsp.enable = true;
pluginRC.lspconfig = entryAfter ["lsp-setup"] '' pluginRC.lspconfig = entryAfter ["lsp-setup"] ''
local lspconfig = require('lspconfig') local lspconfig = require('lspconfig')