mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
modules/opts: move options to top of init.lua
Using mkOrder to ensure the options can be accessible to everything throughout the config. Setting right below global table available, so variables can reference stuff inside global table.
This commit is contained in:
parent
203d31810f
commit
8a272143ee
1 changed files with 1 additions and 1 deletions
|
@ -84,6 +84,6 @@ in
|
|||
) optionsAttrs
|
||||
);
|
||||
in
|
||||
mkIf (content != "") content;
|
||||
mkIf (content != "") (mkOrder 600 content); # Move options to top of file below global table
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue