mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
add markdown as well
This commit is contained in:
parent
7ae81ca51b
commit
96f3524a4d
2 changed files with 19 additions and 29 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue