mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
modules: add config.vim
to built package's passthru
Accessible under `<package>.passthru.neovimConfiguration`
This commit is contained in:
parent
1bd0ae5f7e
commit
0ba3ccdab8
2 changed files with 10 additions and 2 deletions
|
@ -285,6 +285,9 @@ To migrate to `nixfmt`, simply change `vim.languages.nix.format.type` to
|
||||||
- Add [](#opt-vim.spellcheck.extraSpellWords) to allow adding arbitrary
|
- Add [](#opt-vim.spellcheck.extraSpellWords) to allow adding arbitrary
|
||||||
spellfiles to Neovim's runtime with ease.
|
spellfiles to Neovim's runtime with ease.
|
||||||
|
|
||||||
|
- Add combined nvf configuration (`config.vim`) into the final package's
|
||||||
|
passthru as `passthru.neovimConfiguration` for easier debugging.
|
||||||
|
|
||||||
[ppenguin](https://github.com/ppenguin):
|
[ppenguin](https://github.com/ppenguin):
|
||||||
|
|
||||||
- Telescope:
|
- Telescope:
|
||||||
|
@ -302,7 +305,8 @@ To migrate to `nixfmt`, simply change `vim.languages.nix.format.type` to
|
||||||
`vim.languages.kotlin`
|
`vim.languages.kotlin`
|
||||||
- changed default keybinds for leap.nvim to avoid altering expected behavior
|
- changed default keybinds for leap.nvim to avoid altering expected behavior
|
||||||
- Add LSP, formatter and Treesitter support for Vala under `vim.languages.vala`
|
- Add LSP, formatter and Treesitter support for Vala under `vim.languages.vala`
|
||||||
- Add [Tinymist](https://github.com/Myriad-Dreamin/tinymist] as a formatter for the Typst language module.
|
- Add [Tinymist](https://github.com/Myriad-Dreamin/tinymist] as a formatter for
|
||||||
|
the Typst language module.
|
||||||
|
|
||||||
[Bloxx12](https://github.com/Bloxx12)
|
[Bloxx12](https://github.com/Bloxx12)
|
||||||
|
|
||||||
|
@ -327,4 +331,3 @@ To migrate to `nixfmt`, simply change `vim.languages.nix.format.type` to
|
||||||
[Nowaaru](https://github.com/Nowaaru):
|
[Nowaaru](https://github.com/Nowaaru):
|
||||||
|
|
||||||
- Add `precognition-nvim`.
|
- Add `precognition-nvim`.
|
||||||
|
|
||||||
|
|
|
@ -123,6 +123,11 @@ in {
|
||||||
paths = [neovim-wrapped printConfig printConfigPath];
|
paths = [neovim-wrapped printConfig printConfigPath];
|
||||||
postBuild = "echo Helpers added";
|
postBuild = "echo Helpers added";
|
||||||
|
|
||||||
|
# Allow evaluating vimOptions, i.e., config.vim from the packages' passthru
|
||||||
|
# attribute. For example, packages.x86_64-linux.neovim.passthru.neovimConfig
|
||||||
|
# will return the configuration in full.
|
||||||
|
passthru.neovimConfig = vimOptions;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Wrapped version of Neovim with additional helper scripts";
|
description = "Wrapped version of Neovim with additional helper scripts";
|
||||||
mainProgram = "nvim";
|
mainProgram = "nvim";
|
||||||
|
|
Loading…
Reference in a new issue