Zexin Yuan
297e2e0b65
docs: format nix examples in options
2025-12-13 08:51:26 +00:00
Zexin Yuan
d52007581e
docs: format nix examples in documentation
2025-12-13 08:51:26 +00:00
Austin Horstman
993a8b4eb0
plugins/treesitter: simplify nested expressions
...
Looks like we can actually nest this inside the parenthesized_expression
to simplify a small amount.
2025-12-12 22:09:09 +00:00
Austin Horstman
d5b2ba8f2a
plugins/dap: allow lua for adapters
...
Support `mkRaw` for adapter definitions to support more flexible
configuration.
2025-12-12 21:45:41 +00:00
Austin Horstman
a80557e142
plugins/treesitter: support let expressions with injections
2025-12-12 14:23:21 +00:00
Matt Sturgeon
8486f9144e
lib/modules: init testNixvim and testNixvimWith
...
Introduce thin wrappers around the `<configuration>.config.build.test`
option, intended to replace the legacy `mkTestDerivationFromNvim` and
`mkTestDerivationFromNixvimModule` functions.
2025-12-12 09:38:29 +00:00
Matt Sturgeon
2695bef079
lib/modules: init buildNixvim and buildNixvimWith
...
Introduce thin wrappers around the `<configuration>.config.build.package`,
option intended to replace the legacy `makeNixvim` and
`makeNixvimWithModule` functions.
2025-12-12 09:38:29 +00:00
Matt Sturgeon
a250540213
modules/output: include config and options in build.package
...
Similar to the legacy "standalone wrapper" `makeNixvimWithModule`,
thread the configuration's `config` and `options` to the final package.
This allows using such a package as the input to functions like
`testNixvim`.
2025-12-12 09:38:29 +00:00
Zexin Yuan
350ead83e2
docs: clarify lazyLoad.after behavior and mention luaConfig.post
2025-12-12 09:27:51 +00:00
Gaetan Lepage
a2bd97de05
plugins/lsp/lsp-packages: drop redundant cmd values
2025-12-12 09:26:10 +00:00
Gaetan Lepage
40bfd0f6dc
Revert "tests/all-package-defaults: disable verible on aarch64-linux"
...
This reverts commit abd3e966f3 .
2025-12-12 09:25:36 +00:00
nixvim-ci[bot]
7cd7a7b635
flake: Update
...
flake.lock updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
→ 'github:hercules-ci/flake-parts/5635c32d666a59ec9a55cab87e898889869f7b71?narHash=sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM%3D' (2025-12-11)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/677fbe97984e7af3175b6c121f3c39ee5c8d62c9?narHash=sha256-g2a4MhRKu4ymR4xwo%2BI%2BauTknXt/%2Bj37Lnf0Mvfl1rE%3D' (2025-12-09)
→ 'github:NixOS/nixpkgs/5d6bdbddb4695a62f0d00a3620b37a15275a5093?narHash=sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo%3D' (2025-12-11)
flake/dev/flake.lock updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/677fbe97984e7af3175b6c121f3c39ee5c8d62c9?narHash=sha256-g2a4MhRKu4ymR4xwo%2BI%2BauTknXt/%2Bj37Lnf0Mvfl1rE%3D' (2025-12-09)
→ 'github:NixOS/nixpkgs/5d6bdbddb4695a62f0d00a3620b37a15275a5093?narHash=sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo%3D' (2025-12-11)
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/2d6f58930fbcd82f6f9fd59fb6d13e37684ca529?narHash=sha256-%2BZDU2d%2BvzWkEJiqprvV5PR26DVFN2vgddwG5SnPZcUM%3D' (2025-12-10)
→ 'github:cachix/git-hooks.nix/09e45f2598e1a8499c3594fe11ec2943f34fe509?narHash=sha256-dixPWKiHzh80PtD0aLuxYNQ0xP%2B843dfXG/yM3OzaYQ%3D' (2025-12-11)
• Updated input 'home-manager':
'github:nix-community/home-manager/13cc1efd78b943b98c08d74c9060a5b59bf86921?narHash=sha256-HuWQp8fM25fyWflbuunQkQI62Hg0ecJxWD52FAgmxqY%3D' (2025-12-10)
→ 'github:nix-community/home-manager/39cb677ed9e908e90478aa9fe5f3383dfc1a63f3?narHash=sha256-HlbvQAqLx7WqZFFQZ8nu5UUJAVlXiV/kqKbyueA8srw%3D' (2025-12-11)
2025-12-12 09:25:36 +00:00
Gaetan Lepage
575e241fa2
plugins/efmls-configs: inline efm language settings (cosmetic)
2025-12-12 09:16:55 +00:00
Gaetan Lepage
4cf2afde78
plugins/efmls-configs: rename setup to languages
2025-12-12 09:16:55 +00:00
Guilhem Saurel
1e0916836a
defaultEditor also sets {env}VISUAL
...
same as https://github.com/nix-community/home-manager/pull/8322
2025-12-12 09:07:22 +00:00
Alison Jenkins
dfc71c3d48
plugins/sidekick/assertion: no copilot when nes disabled
...
When the Sidekick plugin has Next Edit Suggestions disabled we should
not enforce the dependency on Copilot.
See:
https://github.com/folke/sidekick.nvim?tab=readme-ov-file#can-i-use-this-without-nes-just-for-cli-tools
2025-12-11 19:27:51 +00:00
nixvim-ci[bot]
a3098ca665
flake: Update
...
flake/dev/flake.lock updates:
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c?narHash=sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ%3D' (2025-12-06)
→ 'github:cachix/git-hooks.nix/2d6f58930fbcd82f6f9fd59fb6d13e37684ca529?narHash=sha256-%2BZDU2d%2BvzWkEJiqprvV5PR26DVFN2vgddwG5SnPZcUM%3D' (2025-12-10)
2025-12-11 13:50:36 +00:00
nixvim-ci[bot]
83df07bf49
maintainers: update generated/all-maintainers.nix
...
Automated update of the master maintainers list combining:
- Nixvim specific maintainers from lib/maintainers.nix
- Nixpkgs maintainers referenced in Nixvim modules
Changes: +7 -0 lines
Generated by: flake/dev/generate-all-maintainers/generate-all-maintainers.py
2025-12-11 09:55:23 +00:00
fwastring
1665448e75
plugins/substitute: init
...
plugins/substitute: removed options and used nested
plugins/substitute: changed example
plugins/substitute: remove __raw
plugins/substitute: Fixed failing test
plugins/substitute: removedplugins/substitute: init
removed
2025-12-11 09:29:13 +00:00
fwastring
91288dfdfb
maintainers: add fwastring
2025-12-11 09:29:13 +00:00
Heitor Augusto
264ff4c5e6
plugins/tv: init
2025-12-11 09:29:09 +00:00
Heitor Augusto
0671df0b57
modules/dependencies: add television dependency
2025-12-11 09:29:09 +00:00
Heitor Augusto
f61667b37e
plugins/mini-cmdline: init
2025-12-11 00:33:09 +00:00
Gaetan Lepage
abd3e966f3
tests/all-package-defaults: disable verible on aarch64-linux
2025-12-10 21:13:52 +00:00
Gaetan Lepage
480d35cc76
plugins/lsp/lsp-packages: update
2025-12-10 21:13:52 +00:00
nixvim-ci[bot]
19b878d114
generated: Updated lspconfig-servers.json
2025-12-10 21:13:52 +00:00
nixvim-ci[bot]
9f71d8a8a9
flake: Update
...
flake.lock updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069?narHash=sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx%2BJ2FfutM7T9w%3D' (2025-12-05)
→ 'github:NixOS/nixpkgs/677fbe97984e7af3175b6c121f3c39ee5c8d62c9?narHash=sha256-g2a4MhRKu4ymR4xwo%2BI%2BauTknXt/%2Bj37Lnf0Mvfl1rE%3D' (2025-12-09)
flake/dev/flake.lock updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069?narHash=sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx%2BJ2FfutM7T9w%3D' (2025-12-05)
→ 'github:NixOS/nixpkgs/677fbe97984e7af3175b6c121f3c39ee5c8d62c9?narHash=sha256-g2a4MhRKu4ymR4xwo%2BI%2BauTknXt/%2Bj37Lnf0Mvfl1rE%3D' (2025-12-09)
• Updated input 'home-manager':
'github:nix-community/home-manager/e5b1f87841810fc24772bf4389f9793702000c9b?narHash=sha256-BVVyAodLcAD8KOtR3yCStBHSE0WAH/xQWH9f0qsxbmk%3D' (2025-12-08)
→ 'github:nix-community/home-manager/13cc1efd78b943b98c08d74c9060a5b59bf86921?narHash=sha256-HuWQp8fM25fyWflbuunQkQI62Hg0ecJxWD52FAgmxqY%3D' (2025-12-10)
2025-12-10 21:13:52 +00:00
Matt Sturgeon
c50d50b168
modules/extraFiles: refactor to use symlinks and support directories
...
Instead of copying source files to the target, use a symlink.
This reduces nix store redundancy and enables using entire directories
as sources.
To support this, additional validation is done on file targets to
prevent unexpected conflicts.
2025-12-10 17:30:14 +00:00
Austin Horstman
ba8f6d40b1
plugins/treesitter: rewrite injections to handle nested
...
We now look for strings inside any function call (apply_expression)
provided the root attribute matches our allow-list (e.g.,
extraConfigLua). Added 3 level nesting support to handle multiple layers of
wrapping.
Tried breaking them up into sections with some more comments to align
with our test file.
2025-12-09 14:37:55 +00:00
Austin Horstman
e6872cd5d4
plugins/treesitter: add treesitter injections test file
...
Not a true automated test file, just good for a visual smoke test.
2025-12-09 14:37:55 +00:00
Austin Horstman
3e6e23a719
plugins/treesitter: match -> any-of pattern
...
No real performance gain but might be easier to maintain / understand.
2025-12-09 14:37:55 +00:00
Austin Horstman
507d48c3ae
plugins/treesitter: update injections to handle functions
...
Handle highlighting strings that occur after a function condition.
2025-12-09 14:37:55 +00:00
nixvim-ci[bot]
1efe549e2a
flake: Update
...
flake/dev/flake.lock updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/a7887340779d5e70ef68012f3823568ee59eaa30?narHash=sha256-/cjofqGxSWpRj2XJM%2BBd5VUgWDkBWSxxO//HE%2BzOHMY%3D' (2025-12-08)
→ 'github:nix-community/home-manager/e5b1f87841810fc24772bf4389f9793702000c9b?narHash=sha256-BVVyAodLcAD8KOtR3yCStBHSE0WAH/xQWH9f0qsxbmk%3D' (2025-12-08)
2025-12-09 14:14:32 +00:00
Matt Sturgeon
53b702b367
wrappers: expose platform wrapper modules via build.*Module options
...
Expose the platform wrapper modules as the Nixvim configuration options
`build.nixosModule`, `build.homeModule`, and `build.nixDarwinModule`.
This makes it possible to reuse a single Nixvim configuration across
NixOS, Home Manager, and nix-darwin without re-importing modules into
`programs.nixvim` manually.
Evaluating these wrapper modules requires a "bare" Nixvim configuration;
one that does not define `pkgs` or `nixpkgs.hostPlatform`. Such a
configuration would normally fail to evaluate, but disabling
`_module.check` provides a sufficiently lazy evaluation to access the
wrapper options.
To prevent the `_module.check = false` module from leaking into user
configs, it has a unique module key and gets disabled inside the wrapper
modules (`wrappers/_shared.nix`).
2025-12-09 08:01:49 +00:00
Alejandro Pinar Ruiz
05c57f2e74
fix: add missing lib
2025-12-08 16:18:17 +00:00
Matt Sturgeon
463fb0ad5d
modules/lsp: fix mkServerOption homepage tryEval evaluation
...
`lib.pipe` strictly evaluates intermediate steps using `foldl'`. As a
result, piping `(opts: opts.package.default or null)` →
`(package: (tryEval package).value)` is ineffective because
`opts.package.default` is evaluated before `tryEval` can catch exceptions.
Instead, inline `opts.package.default` directly into the `tryEval`
expression, ensuring missing package errors caught correctly.
Resolves errors when building NixOS or nix-darwin docs that include
Nixvim options.
Adds a regression test.
2025-12-08 15:37:52 +00:00
nixvim-ci[bot]
6ab2b305da
flake: Update
...
flake/dev/flake.lock updates:
• Updated input 'flake-compat':
'github:NixOS/flake-compat/4dd386262c30922367e6b549c81e9cbdf8f3132f?narHash=sha256-JbjxGEA9gVRZ47LylRFe7TLVjI2KaoW0cwflbQ2apBs%3D' (2025-12-04)
→ 'github:NixOS/flake-compat/63d095ca43128741b16fc354b1e918757e6b66e5?narHash=sha256-QN1r/zNqvXHwWqlRAnRtFf4CQwIOJx58PtdExIzAw94%3D' (2025-12-08)
• Updated input 'home-manager':
'github:nix-community/home-manager/27a6182347ccae90a88231ae0dc5dfa7d15815bb?narHash=sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44%3D' (2025-12-06)
→ 'github:nix-community/home-manager/a7887340779d5e70ef68012f3823568ee59eaa30?narHash=sha256-/cjofqGxSWpRj2XJM%2BBd5VUgWDkBWSxxO//HE%2BzOHMY%3D' (2025-12-08)
2025-12-08 12:23:10 +00:00
Gaetan Lepage
451b1806a6
tests/modules/dependencies: use the remaining *Package option
2025-12-07 23:34:03 +00:00
Gaetan Lepage
8441008175
treewide: remove old deprecation warnings
2025-12-07 23:34:03 +00:00
Gaetan Lepage
629f9d75f8
treewide: remove with lib;
2025-12-07 22:46:34 +00:00
nixvim-ci[bot]
cd0443e166
flake: Update
...
flake/dev/flake.lock updates:
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/e95de00a471d07435e0527ff4db092c84998698e?narHash=sha256-HN84sByg9FhJnojkGGDSrcjcbeioFWoNXfuyYfJ1kBE%3D' (2025-11-26)
→ 'github:lnl7/nix-darwin/7e22bf538aa3e0937effcb1cee73d5f1bcc26f79?narHash=sha256-b7W9WsvyMOkUScNxbzS45KEJp0iiqRPyJ1I3JBE%2BoEE%3D' (2025-12-06)
2025-12-07 13:58:44 +00:00
saygo-png
b65233d5f9
docs: discourage use of follows
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-06 17:59:37 +00:00
nixvim-ci[bot]
b502802572
flake: Update
...
flake.lock updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ece6e266caf1effab32eceef0403b797b4330373?narHash=sha256-yEJmtoFu4cJre1NuU4fb8q57Oux%2BNTbocnALtJ64aEI%3D' (2025-12-04)
→ 'github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069?narHash=sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx%2BJ2FfutM7T9w%3D' (2025-12-05)
flake/dev/flake.lock updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/ece6e266caf1effab32eceef0403b797b4330373?narHash=sha256-yEJmtoFu4cJre1NuU4fb8q57Oux%2BNTbocnALtJ64aEI%3D' (2025-12-04)
→ 'github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069?narHash=sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx%2BJ2FfutM7T9w%3D' (2025-12-05)
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/50b9238891e388c9fdc6a5c49e49c42533a1b5ce?narHash=sha256-QlcnByMc8KBjpU37rbq5iP7Cp97HvjRP0ucfdh%2BM4Qc%3D' (2025-11-24)
→ 'github:cachix/git-hooks.nix/548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c?narHash=sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ%3D' (2025-12-06)
• Updated input 'home-manager':
'github:nix-community/home-manager/6bcb2395ab9ed05616052262da526cd7c5b4b123?narHash=sha256-ftxQocr098v5ngqB3SXa9tW6aqovBSBOEdIRcLEj44c%3D' (2025-12-05)
→ 'github:nix-community/home-manager/27a6182347ccae90a88231ae0dc5dfa7d15815bb?narHash=sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44%3D' (2025-12-06)
2025-12-06 12:45:32 +00:00
saygo-png
812d7e639d
flake: move the nuschtosSearch input to the dev flake
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-05 13:44:35 +00:00
saygo-png
67ddb71d85
flake: add inputs option
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-05 13:44:35 +00:00
Matt Sturgeon
cc57493853
lib/options: drop old mkDesc deprecation stub
2025-12-05 13:00:50 +00:00
Matt Sturgeon
59ebcf91e4
lib/top-level: drop old deprecations
2025-12-05 13:00:50 +00:00
nixvim-ci[bot]
b715929c34
flake: Update
...
flake.lock updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ebc94f855ef25347c314258c10393a92794e7ab9?narHash=sha256-UMVihg0OQ980YqmOAPz%2BzkuCEb9hpE5Xj2v%2BZGNjQ%2BM%3D' (2025-12-03)
→ 'github:NixOS/nixpkgs/ece6e266caf1effab32eceef0403b797b4330373?narHash=sha256-yEJmtoFu4cJre1NuU4fb8q57Oux%2BNTbocnALtJ64aEI%3D' (2025-12-04)
flake/dev/flake.lock updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/ebc94f855ef25347c314258c10393a92794e7ab9?narHash=sha256-UMVihg0OQ980YqmOAPz%2BzkuCEb9hpE5Xj2v%2BZGNjQ%2BM%3D' (2025-12-03)
→ 'github:NixOS/nixpkgs/ece6e266caf1effab32eceef0403b797b4330373?narHash=sha256-yEJmtoFu4cJre1NuU4fb8q57Oux%2BNTbocnALtJ64aEI%3D' (2025-12-04)
• Updated input 'home-manager':
'github:nix-community/home-manager/d441981b200305ebb8e2e2921395f51d207fded6?narHash=sha256-QCgaXEj8036JlfyVM2e5fgKIxoF7IgGRcAi8LkehKvo%3D' (2025-12-04)
→ 'github:nix-community/home-manager/6bcb2395ab9ed05616052262da526cd7c5b4b123?narHash=sha256-ftxQocr098v5ngqB3SXa9tW6aqovBSBOEdIRcLEj44c%3D' (2025-12-05)
2025-12-05 12:26:47 +00:00
Matt Sturgeon
085f50eac5
lib: reimplement call; drop .override
...
Using `callPackageWith` adds `override` and `overrideDerivation`
attributes to the result, which are not relevant to subsections of
Nixvim's lib section.
Implement our own, simplified, `call` using `intersectAttrs` and
`functionArgs`.
If users wish to modify parts of our lib section, they should extend the
top-level fixpoint to ensure everything stays in sync.
2025-12-05 12:19:52 +00:00
Gaetan Lepage
8e85c25143
plugins/lsp/lsp-packages: add package for tclsp
2025-12-04 23:55:02 +00:00