mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-16 09:01:03 +00:00
refactor: re-order plugin and lz.n configs
lazy: make lzn-auto-require togglable
This commit is contained in:
parent
eb95f77e75
commit
192340494b
3 changed files with 34 additions and 10 deletions
|
|
@ -52,11 +52,10 @@ in {
|
|||
optionsScript = entryAfter ["basic"] (concatLines optionsScript);
|
||||
|
||||
# Basic
|
||||
pluginConfigs = entryAfter ["optionsScript"] pluginConfigs;
|
||||
lazyConfigs = entryAfter ["optionsScript"] cfg.lazy.builtLazyConfig;
|
||||
pluginConfigs = entryAfter ["lazyConfigs"] pluginConfigs;
|
||||
extraPluginConfigs = entryAfter ["pluginConfigs"] extraPluginConfigs;
|
||||
mappings = entryAfter ["extraPluginConfigs"] keymaps;
|
||||
# FIXME: put this somewhere less stupid
|
||||
footer = entryAfter ["mappings"] (optionalString config.vim.lazy.enable "require('lzn-auto-require').enable()");
|
||||
};
|
||||
|
||||
builtLuaConfigRC = let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue