mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-27 07:26:46 +00:00
67abc51902
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
* treewide: remove the theme section from the DAG order dependance * docs/dag-entries: correct theme entry note
1.1 KiB
1.1 KiB
DAG entries in nvf
From the previous chapter, it should be clear that DAGs are useful, because you can add code that relies on other code. However, if you don't know what the entries are called, it's hard to do that, so here is a list of the internal entries in nvf:
vim.luaConfigRC
(top-level DAG):
- (
luaConfigPre
) - not a part of the actual DAG, instead, it's simply inserted before the rest of the DAG globalsScript
- used to set globals defined invim.globals
basic
- used to set basic configuration optionstheme
(this is simply placed beforepluginConfigs
, meaning that surrounding entries don't depend on it) - used to set up the theme, which has to be done before other pluginspluginConfigs
- the result of the nestedvim.pluginRC
(internal option, see the Custom Plugins page for adding your own plugins) DAG, used to set up internal pluginsextraPluginConfigs
- the result ofvim.extraPlugins
, which is not a direct DAG, but is converted to, and resolved as one internallymappings
- the result ofvim.maps