Commit graph

4566 commits

Author SHA1 Message Date
Matt Sturgeon
b7521616f1 ci/version-info: reformat 2026-06-02 17:33:26 +00:00
nixvim-ci[bot]
4aaae04605 flake: Update
flake.lock updates:
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e9a7635a57597d9754eccebdfc7045e6c8600e6b?narHash=sha256-u6WU/yd/o8iYQrHX3RAwO1hYa3LkoSL%2BWNQD0rJfJZQ%3D' (2026-05-29)
  → 'github:NixOS/nixpkgs/4df1b885d76a54e1aa1a318f8d16fd6005b6401f?narHash=sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ%3D' (2026-06-01)

flake/dev/flake.lock updates:
• Updated input 'home-manager':
    'github:nix-community/home-manager/7d8127d308c3fb9664f7e643eec944be74ebb37d?narHash=sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ%3D' (2026-05-30)
  → 'github:nix-community/home-manager/f384af1bec6423a0d4ba1855917ab948f64e5808?narHash=sha256-s7Tv6FUQThRAvW8En8XVC6HMb0uiikzVccCcCo9u/Bg%3D' (2026-06-02)
• Updated input 'nixvim':
    'path:../..'
  → 'path:../..'
• Updated input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/e9a7635a57597d9754eccebdfc7045e6c8600e6b?narHash=sha256-u6WU/yd/o8iYQrHX3RAwO1hYa3LkoSL%2BWNQD0rJfJZQ%3D' (2026-05-29)
  → 'github:NixOS/nixpkgs/4df1b885d76a54e1aa1a318f8d16fd6005b6401f?narHash=sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ%3D' (2026-06-01)
2026-06-02 17:33:26 +00:00
nixvim-ci[bot]
e5c7b40dc5 flake: Update
flake.lock updates:
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4100e830e085863741bc69b156ec4ccd53ab5be0?narHash=sha256-NOF9NAREhxr50bbBfVcVOq%2BArCMSoe8dP79Pk2uyARk%3D' (2026-05-27)
  → 'github:NixOS/nixpkgs/e9a7635a57597d9754eccebdfc7045e6c8600e6b?narHash=sha256-u6WU/yd/o8iYQrHX3RAwO1hYa3LkoSL%2BWNQD0rJfJZQ%3D' (2026-05-29)

flake/dev/flake.lock updates:
• Updated input 'nixvim':
    'path:../..'
  → 'path:../..'
• Updated input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/4100e830e085863741bc69b156ec4ccd53ab5be0?narHash=sha256-NOF9NAREhxr50bbBfVcVOq%2BArCMSoe8dP79Pk2uyARk%3D' (2026-05-27)
  → 'github:NixOS/nixpkgs/e9a7635a57597d9754eccebdfc7045e6c8600e6b?narHash=sha256-u6WU/yd/o8iYQrHX3RAwO1hYa3LkoSL%2BWNQD0rJfJZQ%3D' (2026-05-29)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/790751ff7fd3801feeaf96d7dc416a8d581265ba?narHash=sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0%3D' (2026-04-08)
  → 'github:numtide/treefmt-nix/db947814a175b7ca6ded66e21383d938df01c227?narHash=sha256-eynAfOmbmxJnkp7YewvCEbShNnnYJ9gLLqkzsYtBPeM%3D' (2026-05-31)
2026-05-31 13:57:52 +00:00
nixvim-ci[bot]
57e5355a84 flake: Update
flake/dev/flake.lock updates:
• Updated input 'home-manager':
    'github:nix-community/home-manager/61e2c9659324181e0f0ed911958c536333b1d4f6?narHash=sha256-HwIJ3tOcwSMiV75L7KqJXciXR9UfT%2Bd7rwOZMX7cTnA%3D' (2026-05-28)
  → 'github:nix-community/home-manager/7d8127d308c3fb9664f7e643eec944be74ebb37d?narHash=sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ%3D' (2026-05-30)
• Updated input 'nixvim':
    'path:../..'
  → 'path:../..'
2026-05-30 17:19:51 +00:00
Diogo Correia
2109e94081 lsp/servers/packages: add package for phpantom_lsp
The phpantom-lsp package is available in nixpkgs
since https://github.com/NixOS/nixpkgs/pull/504192
2026-05-30 14:48:46 +00:00
Matt Sturgeon
bbadbd7319 github/workflows/lint: run on Merge Queue 2026-05-29 18:34:38 +00:00
Matt Sturgeon
9dd9795ae4 flake: pin systems to future-26.11
This drops support for x86_64-darwin, which is not supported in
Nixpkgs 26.11.

flake.lock updates:
• Updated input 'systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
  → 'github:nix-systems/default/c29398b59d2048c4ab79345812849c9bd15e9150?narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (2026-03-25)

flake/dev/flake.lock updates:
• Updated input 'nixvim':
    'path:../..'
  → 'path:../..'
• Updated input 'nixvim/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
  → 'github:nix-systems/default/c29398b59d2048c4ab79345812849c9bd15e9150?narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (2026-03-25)
2026-05-29 16:57:17 +00:00
Matt Sturgeon
8de98e0940 maintaining: update release process docs 2026-05-29 16:30:05 +00:00
Matt Sturgeon
e2caf02e8f github/workflows/lint: run on all PRs
Avoid edge-cases where ignored files can indirectly break formatting.

Some of these exclusions are also outdated, as for example spellcheck
applies to markdown files.

Running this CI unconditionally also allows us to specify it as a
"required status check".
2026-05-29 16:28:41 +00:00
nixvim-ci[bot]
a6e624a04f 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
2026-05-29 15:21:54 +00:00
Filippo Airaldi
f3dc931903 plugins/wildfire.nvim: init 2026-05-29 14:20:19 +00:00
Filippo Airaldi
dd9bd8ef00 maintainers: add fairaldi 2026-05-29 14:20:19 +00:00
nixvim-ci[bot]
d7800d4b1c flake: Update
flake.lock updates:
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f44f7788c891fbe5542177df78374f8cdab10e8f?narHash=sha256-0geHoGiR5f8qiXg%2BgO4rSF6Up6Var%2BkKqiOv9AO/uUc%3D' (2026-05-26)
  → 'github:NixOS/nixpkgs/4100e830e085863741bc69b156ec4ccd53ab5be0?narHash=sha256-NOF9NAREhxr50bbBfVcVOq%2BArCMSoe8dP79Pk2uyARk%3D' (2026-05-27)

flake/dev/flake.lock updates:
• Updated input 'home-manager':
    'github:nix-community/home-manager/1a95e2efb477959b70b4a14c51035975c0481df6?narHash=sha256-/p37CB5n6Wpw250b0Lq0CYwNq2D8uGKzDoBulyLcQqA%3D' (2026-05-25)
  → 'github:nix-community/home-manager/61e2c9659324181e0f0ed911958c536333b1d4f6?narHash=sha256-HwIJ3tOcwSMiV75L7KqJXciXR9UfT%2Bd7rwOZMX7cTnA%3D' (2026-05-28)
• Updated input 'nixvim':
    'path:../..'
  → 'path:../..'
• Updated input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/f44f7788c891fbe5542177df78374f8cdab10e8f?narHash=sha256-0geHoGiR5f8qiXg%2BgO4rSF6Up6Var%2BkKqiOv9AO/uUc%3D' (2026-05-26)
  → 'github:NixOS/nixpkgs/4100e830e085863741bc69b156ec4ccd53ab5be0?narHash=sha256-NOF9NAREhxr50bbBfVcVOq%2BArCMSoe8dP79Pk2uyARk%3D' (2026-05-27)
2026-05-29 12:02:51 +00:00
Gaetan Lepage
7dbb34738b tests/all-package-defaults: disable ols on darwin (because of compiler-rt-libc) 2026-05-28 13:08:23 +00:00
Gaetan Lepage
aebff07390 plugins/efmls-configs: add package for htmlhint 2026-05-28 13:08:23 +00:00
nixvim-ci[bot]
580ee31471 generated: Updated efmls-configs-sources.json 2026-05-28 13:08:23 +00:00
nixvim-ci[bot]
ce82af0eae flake: Update
flake.lock updates:
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d99b013d5d1931ad77fe3912ed218170dec5d9a4?narHash=sha256-7DKWmH23hL2eYdkxCKeqj2i%2ByljTKuU%2B3Nk1UPHOnxc%3D' (2026-05-20)
  → 'github:NixOS/nixpkgs/f44f7788c891fbe5542177df78374f8cdab10e8f?narHash=sha256-0geHoGiR5f8qiXg%2BgO4rSF6Up6Var%2BkKqiOv9AO/uUc%3D' (2026-05-26)

flake/dev/flake.lock updates:
• Updated input 'home-manager':
    'github:nix-community/home-manager/928d72376949e222ea4f07b44828a55b0136422e?narHash=sha256-n1%2Bl78hJRABp4cQHKeD0BVByT0vZLPqd09Tvoq8Q%2Bd8%3D' (2026-05-21)
  → 'github:nix-community/home-manager/1a95e2efb477959b70b4a14c51035975c0481df6?narHash=sha256-/p37CB5n6Wpw250b0Lq0CYwNq2D8uGKzDoBulyLcQqA%3D' (2026-05-25)
• Updated input 'nixvim':
    'path:../..'
  → 'path:../..'
• Updated input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/d99b013d5d1931ad77fe3912ed218170dec5d9a4?narHash=sha256-7DKWmH23hL2eYdkxCKeqj2i%2ByljTKuU%2B3Nk1UPHOnxc%3D' (2026-05-20)
  → 'github:NixOS/nixpkgs/f44f7788c891fbe5542177df78374f8cdab10e8f?narHash=sha256-0geHoGiR5f8qiXg%2BgO4rSF6Up6Var%2BkKqiOv9AO/uUc%3D' (2026-05-26)
2026-05-28 13:08:23 +00:00
Matt Sturgeon
297f934147 flake/dev/flake.lock: update nix-dawrin url
flake/dev/flake.lock updates:
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/56c666e108467d87d13508936aade6d567f2a501?narHash=sha256-zXcwYQGCT6pzinK%2B1dBB2ekTVtfxGZAapb3Evdcu4fY%3D' (2026-05-17)
  → 'github:nix-darwin/nix-darwin/56c666e108467d87d13508936aade6d567f2a501?narHash=sha256-zXcwYQGCT6pzinK%2B1dBB2ekTVtfxGZAapb3Evdcu4fY%3D' (2026-05-17)
2026-05-26 17:29:57 +00:00
Matt Sturgeon
afec1bae0e flake/dev: mark flake-compat as flake = false
As-per upstream README. No lockfile changes.
2026-05-25 04:30:52 +00:00
Matt Sturgeon
4aa27f5af0 flake/dev: have nuschtosSearch systems input follow nixivm's
flake/dev/flake.lock updates:
• Updated input 'nuschtosSearch/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
  → follows 'nixvim/systems'
2026-05-25 04:30:52 +00:00
Matt Sturgeon
860304dd63 flake/dev: drop dev-nixpkgs for nixvim path ref
flake/dev/flake.lock updates:
• Removed input 'dev-nixpkgs'
• Updated input 'devshell/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'git-hooks/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'home-manager/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'nix-darwin/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Added input 'nixvim':
    'path:../..'
• Added input 'nixvim/flake-parts':
    'github:hercules-ci/flake-parts/f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb?narHash=sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4%3D' (2026-05-13)
• Added input 'nixvim/flake-parts/nixpkgs-lib':
    follows 'nixvim/nixpkgs'
• Added input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/d99b013d5d1931ad77fe3912ed218170dec5d9a4?narHash=sha256-7DKWmH23hL2eYdkxCKeqj2i%2ByljTKuU%2B3Nk1UPHOnxc%3D' (2026-05-20)
• Added input 'nixvim/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Updated input 'nuschtosSearch/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'treefmt-nix/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
2026-05-25 04:30:52 +00:00
Matt Sturgeon
01bd278849 modules: drop helpers alias
Deprecated since 25.11.
2026-05-25 00:15:52 +00:00
Matt Sturgeon
909aa0a782 wrappers: pass in existing lib.nixvim
Extracting `specialArgs.lib.nixvim` from the final `programs.nixvim`
configuration is neat, but recursive. In non-lazy scenarios, it can end
up infinitely recursive.

We could extract `specialArgs.lib.nixvim` from another nixvim
configuration, such as one of the earlier `extendModules` evaluations,
however it is better to avoid evaluating multiple configurations
unnecessarily.

Instead, revert back to getting `lib.nixvim` from the same configuration
we get `extendModules` from.
2026-05-24 23:09:56 +00:00
Matt Sturgeon
e71dab10a6 tests/platforms: add failing test for #4341
We see infinite recursion when `config.lib` is used to construct or define a `programs.nixvim` module.
2026-05-24 23:09:56 +00:00
Austin Horstman
7259329db1 flake/dev/new-plugin: type scaffold script 2026-05-24 11:19:50 +00:00
Austin Horstman
9032ffde3c flake/dev/new-plugin: reuse plugin template in scaffold
Closes #3722
2026-05-24 11:19:50 +00:00
Adam Dinwoodie
cb0107f6e1 modules/nixpkgs: pass lib to config function
Nixpkgs config, for defining things like which licenses are
permitted, can either be an attrset or a function that is passed a
`pkgs` argument.  Evaluating that `pkgs` argument requires computing the
Nixpkgs fixpoint, which requires checking whether the derivations used
in the Nixpkgs bootstrap have valid licenses.  This works provided
nothing tries to use Nixpkgs functions to validate or merge anything
included in the configuration.

f5deefd4631e (config: add and document {allow,block}listedLicenses,
2025-08-31), in #437723, added type checking and merging to the lists of
permitted/forbidden licenses.  That resulted in a recursion loop if a
list of licenses included, say, `pkgs.lib.licenses.bsd0`.

To allow licenses to be specified from Nixpkgs' library, pass `lib` as
well as `pkgs` to any config function.  Computing `lib` doesn't require
working out the full Nixpkgs fixpoint.  The change in #437723 will still
break things for some people, but it at least provides a sensible route
to getting the config working again.

Fixes https://github.com/NixOS/nixpkgs/issues/456994.

Cherry-picks 8e94561d62
2026-05-24 05:41:42 +00:00
‮rekcäH nitraM‮
a3dffa03ad modules/nixpkgs: add setting nixpkgs.config.allowUnfreePackages = ["list" "of "packages"]
Inspired by https://github.com/NixOS/nixpkgs/issues/197325 this adds a
new option `nixpkgs.allowUnfreePackages`, which merges additively and can
thus be defined in multiple modules close to where the unfree package is
installed.

I would have liked to name this option
`nixpkgs.config.allowUnfreePackages`, to define it closer to where the
`allowUnfree` and `allowUnfreePredicate` are defined, but I didn't see how
this could be achieved. I would welcome some guidance on how to do this.

Cherry-picks a3c9221d64
2026-05-24 05:41:42 +00:00
Wolfgang Walther
ff3cd5fa14 modules/nixpkgs: top-level pkgs now returns __splicedPackages
Cherry-picks f2640ee208
2026-05-24 05:41:42 +00:00
Matt Sturgeon
978a84388e Revert "modules/nixpkgs: don't assign elaborated platforms"
This reverts commit f99264c1fb.

Cherry-picks 7c251e2b5f
2026-05-24 05:41:42 +00:00
Austin Horstman
06a19e0783 modules/output: assert pure rtp needs wrapper 2026-05-24 04:27:26 +00:00
Austin Horstman
d82f383100 modules/output: load wrapped config via VIMINIT
Wrapped Nixvim configs previously passed the generated init.lua with -u. Neovim treats that startup path as an explicit user config and skips exrc processing, so project-local .nvim.lua files were not sourced even when users enabled the exrc option.

Load the generated config through a forced VIMINIT instead. This preserves the current wrapped-config precedence while allowing Neovim's normal exrc startup path to run for trusted project config files.

When impureRtp is disabled, clear XDG_CONFIG_DIRS and VIM from an early --cmd before sysinit is checked, then restore them before loading the generated config so runtime code and child processes see the original environment.

Keep the saved startup environment in a short-lived global Lua table shared between the --cmd and VIMINIT chunks, then clear it after restore.

Add a modules-output regression test that checks the wrapper args no longer include -u, verifies VIMINIT is set, confirms trusted .nvim.lua is sourced, blocks sysinit.vim, verifies XDG_CONFIG_DIRS and VIM are restored, and ensures the saved startup state is cleared.

Closes #3506
2026-05-24 04:27:26 +00:00
Matt Sturgeon
d5bd4d4e41 modules/doc: disable manpage docs when config.flake is undefined
We currently access all `docs` packages via flake outputs.
2026-05-24 03:05:36 +00:00
Matt Sturgeon
e1ad5c4e92 wrappers: encapsulate access to lib.nixvim and lib-overlay
- Pass only `evalNixvim` into standalone.nix.
- Access Nixvim lib via the submodule configuration in _shared.nix.
2026-05-24 03:05:36 +00:00
Matt Sturgeon
fca03f1759 lib: allow instantiating without a flake instance
Separate `overlay.nix` and `overlay.internal.nix`, to encapsulate the
`flake` argument. This allows non-flake users to import `./overlay.nix`
without providing a dummy `flake = null` attr.

The read-only `config.flake` option is only defined by `evalNixvim` when
`lib` is extended using the overlay in Nixvim's flake outputs.
2026-05-24 03:05:36 +00:00
Matt Sturgeon
f58f056882 modules/nixpgks: warn when nixpkgs.source default is incorrect
Currently, `nixpkgs.source` can be affected by flake input following.
Nixvim is sensitive to the pinned Nixpkgs revision and users often
follow inputs without thinking too much about it, so warn when this is
detected.
2026-05-24 03:05:36 +00:00
Matt Sturgeon
886bd8fd62 modules/nixpkgs: nixpkgs.source fallback when flake undefined 2026-05-24 03:05:36 +00:00
Matt Sturgeon
ad628ccbd2 nixpkgs: add file that fetches pinned revision 2026-05-24 03:05:36 +00:00
2kybe3
1a380f1245 plugins/language-servers: fix warning about propagatedBuildInputs
warning: Dependency of package 'python3.13-python-lsp-server-1.14.0' uses a nested list in attribute 'propagatedBuildInputs'.
This is deprecated as of Nixpkgs release 26.05, and support will be removed in a future nixpkgs release.
2026-05-23 16:44:17 +00:00
Austin Horstman
4503b3c5e9 plugins/vectorcode: add codecompanion integration 2026-05-22 02:10:12 +00:00
Austin Horstman
291ae38d9e plugins/claudecode: add module
Closes #3500
2026-05-22 01:47:53 +00:00
Austin Horstman
7f6f92a3c9 modules/lsp/onAttach: preserve event scope
Pass the LspAttach autocmd event into the shared onAttach helper so existing configs can still read event.buf and event.data.client_id after dynamic registration support moved the user body out of the autocmd callback.

For registerCapability reruns, provide a synthetic event with the fields Neovim documents for LspAttach that nixvim can still know: buf and data.client_id.

Fixes #4335
2026-05-21 21:32:05 +00:00
Austin Horstman
28eb36007c plugins/cspell: add module
Closes #2812
2026-05-21 21:00:09 +00:00
Austin Horstman
a5a46c9447 dependencies: add cspell package 2026-05-21 21:00:09 +00:00
Austin Horstman
3ab66a1b06 plugins/trailblazer: add module
Closes #3453
2026-05-21 21:00:06 +00:00
Austin Horstman
8236161d3b plugins/live-share: add module
Closes #3650
2026-05-21 21:00:02 +00:00
Austin Horstman
0ae783996f plugins/codecompanion-history: add module
Closes #3325
2026-05-21 20:59:58 +00:00
Austin Horstman
b2f6193e4e plugins/justice: add module
Closes #4205
2026-05-21 20:59:54 +00:00
Austin Horstman
b680cf0ba3 plugins/just: add module
Closes #4204
2026-05-21 20:59:54 +00:00
Austin Horstman
aa6fe35cff dependencies: add just package 2026-05-21 20:59:54 +00:00