mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-15 08:55:58 +01:00
f9789432f9
* modules: switch to gerg's neovim-wrapper * modules: use initViml instead of writing the file * treewide: make the entire generated config lua based * docs: remove mentions of configRC * plugins/treesitter: remove vim.cmd hack * treewide: move resolveDag to lib * modules/wrapper(rc): fix typo * treewide: migrate to pluginRC for correct DAG order The "new" DAG order is as follows: - (luaConfigPre) - globalsScript - basic - theme - pluginConfigs - extraPluginConfigs - mappings - (luaConfigPost) * plugins/theme: fix theme DAG place * plugins/theme: fix fixed theme DAG place * modules/wrapper(rc): add removed option module for configRC * docs: add dag-entries chapter, add release note entry * fix: formatting CI * languages/nix: add missing `local` * docs: fix page link * docs: add mention of breaking changes at the start of the release notes * plugins/neo-tree: convert to pluginRC * modules/wrapper(rc): add back entryAnywhere * modules/wrapper(rc): expose pluginRC * apply raf patch --------- Co-authored-by: NotAShelf <raf@notashelf.dev>
1 KiB
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
- 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