Commit graph

4165 commits

Author SHA1 Message Date
Gaetan Lepage
6bdabc1359 flake/dev/flake.nix: use stable branch for home-manager and nix-darwin 2025-12-01 18:38:02 +00:00
Gaetan Lepage
28058b3e09 treewide: 25.05 -> 25.11
(cherry picked from commit af1ce0d14c)
2025-12-01 18:01:03 +00:00
Heitor Augusto
e36a7fd479 modules/files: ensure derivation is recognized as vim plugin
(cherry picked from commit 027c96a161)
2025-12-01 17:43:36 +00:00
Matt Sturgeon
967ba0bbe1 flake: explicitly configure commit-lock-file-summary
Sets `nixConfig.commit-lock-file-summary` to "flake: Update", matching
the default used by `ci/update`. This ensures consistency when running
`nix flake update --commit-lock-file` or `nix flake lock --commit-lock-file`
manually.

Note: manual updates are discouraged. The `nix-build ci -A update`
script should be used to update flakes. This ensures both root and dev
lockfiles — as well as `version-info.toml` — are kept in sync.

(cherry picked from commit aab92fcc99)
2025-11-30 21:42:52 +00:00
Matt Sturgeon
79b887f068 ci/update: refactor to produce a single lockfile commit
Refactors the flake update script to consolidate root and dev lockfile
updates into a single commit. Changes include:

- Captures and normalizes `nix flake update` output.
- Removes reliance on `--commit-lock-file` and `--amend`.
- Eliminates the need to track or compare HEAD commits manually.
- Only commit when flake.lock, flake/dev/flake.lock, or
  version-info.toml have changes.

(cherry picked from commit d269170e38)
2025-11-30 21:42:52 +00:00
Matt Sturgeon
8300ad59dd ci/update: build version-info with no-out-link
Avoid polluting the `result` symlink when building `version-info`.

(cherry picked from commit f02d566f4c)
2025-11-30 21:42:52 +00:00
Matt Sturgeon
30cc2dddc9 ci/update: always cd to the root of the flake
Allows running the script from a sub-directory, e.g.

    cd ci
    nix-build -A update
    result/bin/update

(cherry picked from commit 8147790da9)
2025-11-30 21:42:52 +00:00
Heitor Augusto
a4a84e5252 modules/output: improve waylandSupport
(cherry picked from commit d14252433d)
2025-11-30 21:23:49 +00:00
Matt Sturgeon
684cad64bf plugins/efmls-configs: avoid reading HTML & JSON aliases
f0764db721 added rename aliases for the
HTML and JSON options, which print a trace when evaluated:

    trace: Obsolete option `HTML' is used. It was renamed to `html'.
    trace: Obsolete option `JSON' is used. It was renamed to `json'.

These were correctly removed when introspecting enabled tools, however
they were not removed when constructing the "setup options" to serialise
as a lua table.

(cherry picked from commit b831550ec8)
2025-11-30 18:11:28 +00:00
nixvim-ci[bot]
b09935ccf1 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/2fecba9952096ba043c16b9ef40b92851ff3e5d9?narHash=sha256-JaNFPy3nywPNxSDpEgFFqvngQww5Igb6twG4NhMo8oc%3D' (2025-11-26)
  → 'github:NixOS/nixpkgs/ba9b83e5fb4b552a423d24dabe5ccb47a9c89901?narHash=sha256-1LNGcU%2BaTbATD3BPCf7U1KsP1CjCH%2BZWqM6JH0sZ6Q0%3D' (2025-11-28)
• Updated input 'devshell':
    'github:numtide/devshell/07bacc9531f5f4df6657c0a02a806443685f384a?narHash=sha256-RXN%2Blcx4DEn3ZS%2BLqEJSUu/HH%2BdwGvy0syN7hTo/Chg%3D' (2025-11-07)
  → 'github:numtide/devshell/17ed8d9744ebe70424659b0ef74ad6d41fc87071?narHash=sha256-M7SZyPZiqZUR/EiiBJnmyUbOi5oE/03tCeFrTiUZchI%3D' (2025-11-24)
• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/20e71a403c5de9ce5bd799031440da9728c1cda1?narHash=sha256-uIRqs/H18YEtMOn1OkbnPH%2BaNTwXKx%2BiU3qnxEkVUd0%3D' (2025-11-21)
  → 'github:cachix/git-hooks.nix/50b9238891e388c9fdc6a5c49e49c42533a1b5ce?narHash=sha256-QlcnByMc8KBjpU37rbq5iP7Cp97HvjRP0ucfdh%2BM4Qc%3D' (2025-11-24)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d10a9b16b2a3ee28433f3d1c603f4e9f1fecb8e1?narHash=sha256-AUc78Qv3sWir0hvbmfXoZ7Jzq9VVL97l%2BsP9Jgms%2BJU%3D' (2025-11-21)
  → 'github:nix-community/home-manager/780be8ef503a28939cf9dc7996b48ffb1a3e04c6?narHash=sha256-jgWzgpIaHbL3USIq0gihZeuy1lLf2YSfwvWEwnfAJUw%3D' (2025-11-28)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/3bda9f6b14161becbd07b3c56411f1670e19b9b5?narHash=sha256-nJRd4LY2kT3OELfHqdgWjvToNZ4w%2BzKCMzS2R6z4sXE%3D' (2025-11-18)
  → 'github:lnl7/nix-darwin/e95de00a471d07435e0527ff4db092c84998698e?narHash=sha256-HN84sByg9FhJnojkGGDSrcjcbeioFWoNXfuyYfJ1kBE%3D' (2025-11-26)
2025-11-29 17:29:03 +00:00
nixvim-ci[bot]
5d3e47d2c5 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2fecba9952096ba043c16b9ef40b92851ff3e5d9?narHash=sha256-JaNFPy3nywPNxSDpEgFFqvngQww5Igb6twG4NhMo8oc%3D' (2025-11-26)
  → 'github:NixOS/nixpkgs/ba9b83e5fb4b552a423d24dabe5ccb47a9c89901?narHash=sha256-1LNGcU%2BaTbATD3BPCf7U1KsP1CjCH%2BZWqM6JH0sZ6Q0%3D' (2025-11-28)
2025-11-29 17:29:03 +00:00
saygo-png
ae5d510151 plugins/conform: fix eval error
Signed-off-by: saygo-png <saygo.mail@proton.me>
(cherry picked from commit 9d6a7608df)
2025-11-29 09:19:19 -06:00
saygo-png
5836ccd335 plugins/conform: refactor the autoInstall option implementation
Signed-off-by: saygo-png <saygo.mail@proton.me>
(cherry picked from commit 96d3538c32)
2025-11-29 09:19:19 -06:00
Gaetan Lepage
cd938720c6 tests/all-package-defaults: disable vimPlugins.nvim-spectre (build failure)
(cherry picked from commit 79bfadb32a)
2025-11-29 02:04:26 +00:00
Gaetan Lepage
c2cc8b5a18 tests/plugins/leanls: disable plugins.lsp.leanls in disableLsp
(cherry picked from commit 960c269f6d)
2025-11-29 02:04:26 +00:00
Gaetan Lepage
fb9bb5d548 tests/plugins/dap-view: remove deprecated settings.winbar.base_sections.*.action
(cherry picked from commit 7bce9d28ea)
2025-11-29 02:04:26 +00:00
Gaetan Lepage
04f4f0af48 plugins/lsp/lsp-packages: update
(cherry picked from commit 1cca516a54)
2025-11-29 02:04:26 +00:00
Gaetan Lepage
17d3a903ac plugins/conform-nvim: update formatter-packages
(cherry picked from commit e39c85a2a5)
2025-11-29 02:04:26 +00:00
Matt Sturgeon
eeb1e454f8 generated: Update
- Updated conform-formatters.json
- Updated lspconfig-servers.json
- Updated unsupported-lspconfig-servers.json
2025-11-29 02:04:26 +00:00
Matt Sturgeon
9b938eb50e flake: set nixpkgs to 25.11
flake.lock updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a8d610af3f1a5fb71e23e08434d8d61a466fc942?narHash=sha256-v5afmLjn/uyD9EQuPBn7nZuaZVV9r%2BJerayK/4wvdWA%3D' (2025-11-20)
  → 'github:NixOS/nixpkgs/2fecba9952096ba043c16b9ef40b92851ff3e5d9?narHash=sha256-JaNFPy3nywPNxSDpEgFFqvngQww5Igb6twG4NhMo8oc%3D' (2025-11-26)

flake/dev/flake.lock updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/a8d610af3f1a5fb71e23e08434d8d61a466fc942?narHash=sha256-v5afmLjn/uyD9EQuPBn7nZuaZVV9r%2BJerayK/4wvdWA%3D' (2025-11-20)
  → 'github:NixOS/nixpkgs/2fecba9952096ba043c16b9ef40b92851ff3e5d9?narHash=sha256-JaNFPy3nywPNxSDpEgFFqvngQww5Igb6twG4NhMo8oc%3D' (2025-11-26)
2025-11-29 02:04:26 +00:00
Austin Horstman
7fe6951bf8 plugins/dap-view: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-view`.
2025-11-26 09:12:28 +00:00
Austin Horstman
266556b918 plugins/dap-virtual-text: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-virtual-text`.
2025-11-26 09:12:28 +00:00
Austin Horstman
47020dca77 plugins/dap-lldb: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-lldb`.
2025-11-26 09:12:28 +00:00
Austin Horstman
08c8af8c01 plugins/dap-ui: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-ui`.
2025-11-26 09:12:28 +00:00
Austin Horstman
4425fc6d62 plugins/dap-rr: require dap to be explicitly enabled
Instead of automatically enabling `plugins.dap`, require users to
explicitly enable it. This prevents silent re-enabling of dap when
a user has explicitly disabled it.
2025-11-26 09:12:28 +00:00
Austin Horstman
f72c25a5ce plugins/dap-go: require dap to be explicitly enabled
Instead of automatically enabling `plugins.dap`, require users to
explicitly enable it. This prevents silent re-enabling of dap when
a user has explicitly disabled it.
2025-11-26 09:12:28 +00:00
Austin Horstman
5f74bfcc11 plugins/dap-python: require dap to be explicitly enabled
Instead of automatically enabling `plugins.dap`, require users to
explicitly enable it. This prevents silent re-enabling of dap when
a user has explicitly disabled it.
2025-11-26 09:12:28 +00:00
Austin Horstman
8117ab9770 plugins/hunk: remove nui auto-enable
The nui-nvim dependency is bundled with the hunk-nvim derivation,
so there's no need to auto-enable `plugins.nui`.
2025-11-26 09:05:00 +00:00
Heitor Augusto
b67ff4d1b2 plugins/deprecation: add mini-icons alternative to web-devicons warning 2025-11-25 10:11:06 +00:00
Heitor Augusto
0dd7b67abb plugins/deprecation: add mini-icons as alternative for iconsPackage 2025-11-25 10:11:06 +00:00
Heitor Augusto
20f7ab0b0c plugins/zk: improve picker not enabled warning 2025-11-24 23:11:17 +00:00
Heitor Augusto
1c8829975d plugins/easy-dotnet: improve picker not enabled warning 2025-11-24 23:11:17 +00:00
Heitor Augusto
9a52ac7c36 plugins/gdscript-extended-lsp: init 2025-11-24 23:11:17 +00:00
Matt Sturgeon
6bd43bf321 flake: push down homeManagerModules warning
Push the rename warning down to the actual attributes, to avoid printing
it too early. Additionally, bind the warning to top-level static value,
to avoid printing it multiple times.

Simplify `oldestSupportedReleaseIsAtLeast 2505` to `true`, assuming this
will not be backported.
2025-11-24 21:35:55 +00:00
Matt Sturgeon
3dc952d69c flake: simplify legacyPackages definitions
- Remove the `makeNixvimWithModule` module arg.
- Move standalone wrapper definitions to `wrappers.nix`
- Move `nixvimConfiguration` alias to `nixvim-configurations.nix`
2025-11-24 11:45:28 +00:00
Matt Sturgeon
947cb0aaed wrappers: use importApply to preserve module location
The `import module args` pattern is useful for applying inputs from
outside of the module system, however it discards module location
metadata that is usually associated with file-path modules.

`lib.modules.importApply` solves that problem by wrapping the applied
module using `lib.modules.setDefaultModuleLocation`.

This means documentation, warnings, and errors will show the correct
location.
2025-11-24 11:10:47 +00:00
Matt Sturgeon
453fe40893 tests: throw when helpers is evaluated
Prevent use of deprecated `helpers` within Nixvim's test suite.
2025-11-24 11:09:51 +00:00
Matt Sturgeon
d6e9b258da tests/extended-lib: omit helpers 2025-11-24 11:09:51 +00:00
Matt Sturgeon
ecb843b614 tests/extended-lib: don't build/run nixvim
This is an assertion-only test.
2025-11-24 11:09:51 +00:00
Matt Sturgeon
824e048096 tests/fetch-tests: only apply required args
Using `functionArgs` and `intersectAttrs`, apply only the required args
to test module files.
2025-11-24 11:09:51 +00:00
Matt Sturgeon
12fd9ee1c8 tests/fetch-tests: drop helpers arg
Don't supply `helpers` to test module files.
2025-11-24 11:09:51 +00:00
Heitor Augusto
1d345d4b25 lib/options/mkSettingsOption: use nestedLiteralLua 2025-11-24 10:48:20 +00:00
Matt Sturgeon
7d17c1b71d flake: remove helpers module arg
Not to be confused with the Nixvim-configuration `helpers` module arg,
remove the flake-parts `helpers` module arg.
2025-11-24 10:47:38 +00:00
Matt Sturgeon
3426dd04bb wrappers: use flake-locked lib instead of host's
Previously, we constructed Nixvim's extended lib from the host
configuration's lib.

Naïvely, this potentially allowed fetching fewer Nixpkgs revisions and
instantiating fewer lib instances. However, it also means our `lib`
interface is unstable, especially when the host configuration is using a
different Nixpkgs release to Nixvim.
2025-11-24 01:13:34 +00:00
nixvim-ci[bot]
2606dc7194 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/7275fa67fbbb75891c16d9dee7d88e58aea2d761?narHash=sha256-YG19IyrTdnVn0l3DvcUYm85u3PaqBt6tI6VvolcuHnA%3D' (2025-11-16)
  → 'github:cachix/git-hooks.nix/20e71a403c5de9ce5bd799031440da9728c1cda1?narHash=sha256-uIRqs/H18YEtMOn1OkbnPH%2BaNTwXKx%2BiU3qnxEkVUd0%3D' (2025-11-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ea164b7c9ccdc2321379c2ff78fd4317b4c41312?narHash=sha256-8EBEEvtzQ11LCxpQHMNEBQAGtQiCu/pqP9zSovDSbNM%3D' (2025-11-17)
  → 'github:nix-community/home-manager/d10a9b16b2a3ee28433f3d1c603f4e9f1fecb8e1?narHash=sha256-AUc78Qv3sWir0hvbmfXoZ7Jzq9VVL97l%2BsP9Jgms%2BJU%3D' (2025-11-21)
2025-11-22 13:59:25 +00:00
nixvim-ci[bot]
b320797e9d flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/52a2caecc898d0b46b2b905f058ccc5081f842da?narHash=sha256-8oNVE8TrD19ulHinjaqONf9QWCKK%2Bw4url56cdStMpM%3D' (2025-11-12)
  → 'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
2025-11-22 13:59:25 +00:00
nixvim-ci[bot]
85939e8768 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-11-22 09:36:11 +00:00
Arne
416997150b plugins/tiny-glimmer-nvim: init 2025-11-22 09:28:42 +00:00
Arne
318f27bf4d maintainers: add Arne-Zillhardt 2025-11-22 09:28:42 +00:00
nixvim-ci[bot]
e13ceae64f flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/6f374686605df381de8541c072038472a5ea2e2d?narHash=sha256-AJHrsT7VoeQzErpBRlLJM1SODcaayp0joAoEA35yiwM%3D' (2025-11-18)
  → 'github:NixOS/nixpkgs/a8d610af3f1a5fb71e23e08434d8d61a466fc942?narHash=sha256-v5afmLjn/uyD9EQuPBn7nZuaZVV9r%2BJerayK/4wvdWA%3D' (2025-11-20)
2025-11-21 12:58:14 +00:00