add markdown as well

This commit is contained in:
sjcobb 2025-05-22 16:11:38 +01:00
commit 96f3524a4d
2 changed files with 19 additions and 29 deletions

View file

@ -11,7 +11,7 @@
inherit (lib.attrsets) mapAttrsToList attrNames filterAttrs;
inherit (lib.generators) mkLuaInline;
inherit (lib.nvim.languages) lspOptions;
inherit (lib.nvim.dag) entryAnywhere;
inherit (lib.nvim.dag) entryAfter;
inherit (lib.nvim.lua) toLuaObject;
cfg = config.vim.lsp;
@ -81,7 +81,9 @@ in {
}
(mkIf (cfg.servers != {}) {
vim.luaConfigRC.lsp-servers = entryAnywhere ''
# Enable lspconfig in order to merge in the predefined opts
vim.lsp.lspconfig.enable = true;
vim.luaConfigRC.lsp-servers = entryAfter ["lspconfig"] ''
-- Individual LSP configurations managed by nvf.
${concatLines lspConfigurations}