mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-20 10:51:17 +00:00
treewide: migrate to pluginRC for correct DAG order
The "new" DAG order is as follows: - (luaConfigPre) - globalsScript - basic - theme - pluginConfigs - extraPluginConfigs - mappings - (luaConfigPost)
This commit is contained in:
parent
20a7751e2a
commit
a0197fe1bb
67 changed files with 101 additions and 87 deletions
|
|
@ -17,7 +17,7 @@ in {
|
|||
|
||||
startPlugins = ["nvim-lspconfig"];
|
||||
|
||||
luaConfigRC.lspconfig = entryAfter ["lsp-setup"] ''
|
||||
pluginRC.lspconfig = entryAfter ["lsp-setup"] ''
|
||||
local lspconfig = require('lspconfig')
|
||||
|
||||
${
|
||||
|
|
@ -29,7 +29,7 @@ in {
|
|||
};
|
||||
}
|
||||
{
|
||||
vim.luaConfigRC = mapAttrs (_: v: (entryAfter ["lspconfig"] v)) cfg.lspconfig.sources;
|
||||
vim.pluginRC = mapAttrs (_: v: (entryAfter ["lspconfig"] v)) cfg.lspconfig.sources;
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue