1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-30 14:11:03 +01:00
Commit graph

4158 commits

Author SHA1 Message Date
Jia Jia
6094d2a439 add mathjiajia's nixvim config 2025-11-29 19:09:18 +00:00
Matt Sturgeon
b831550ec8 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.
2025-11-29 18:39:43 +00:00
saygo-png
9d6a7608df plugins/conform: fix eval error
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-29 12:13:12 +00:00
saygo-png
96d3538c32 plugins/conform: refactor the autoInstall option implementation
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-29 03:08:28 +00:00
Gaetan Lepage
79bfadb32a tests/all-package-defaults: disable vimPlugins.nvim-spectre (build failure) 2025-11-28 22:56:25 +00:00
Gaetan Lepage
960c269f6d tests/plugins/leanls: disable plugins.lsp.leanls in disableLsp 2025-11-28 22:56:25 +00:00
Gaetan Lepage
7bce9d28ea tests/plugins/dap-view: remove deprecated settings.winbar.base_sections.*.action 2025-11-28 22:56:25 +00:00
Gaetan Lepage
1cca516a54 plugins/lsp/lsp-packages: update 2025-11-28 22:56:25 +00:00
Gaetan Lepage
e39c85a2a5 plugins/conform-nvim: update formatter-packages 2025-11-28 22:56:25 +00:00
nixvim-ci[bot]
52fe863780 generated: Update
- Updated conform-formatters.json
- Updated lspconfig-servers.json
- Updated unsupported-lspconfig-servers.json
2025-11-28 22:56:25 +00:00
nixvim-ci[bot]
e65a1edcee flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/a8d610af3f1a5fb71e23e08434d8d61a466fc942?narHash=sha256-v5afmLjn/uyD9EQuPBn7nZuaZVV9r%2BJerayK/4wvdWA%3D' (2025-11-20)
  → 'github:NixOS/nixpkgs/0d59e0290eefe0f12512043842d7096c4070f30e?narHash=sha256-Z63xl5Scj3Y/zRBPAWq1eT68n2wBWGCIEF4waZ0bQBE%3D' (2025-11-27)
• 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/86ff0ef506c209bb397849706e85cc3a913cb577?narHash=sha256-bO7FN/bF6gG7TlZpKAZjO3VvfsLaPFkefeUfJJ7F/7w%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-28 22:56:25 +00:00
nixvim-ci[bot]
d0a13027b3 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a8d610af3f1a5fb71e23e08434d8d61a466fc942?narHash=sha256-v5afmLjn/uyD9EQuPBn7nZuaZVV9r%2BJerayK/4wvdWA%3D' (2025-11-20)
  → 'github:NixOS/nixpkgs/0d59e0290eefe0f12512043842d7096c4070f30e?narHash=sha256-Z63xl5Scj3Y/zRBPAWq1eT68n2wBWGCIEF4waZ0bQBE%3D' (2025-11-27)
2025-11-28 22:56:25 +00:00
Heitor Augusto
f1e07ba53a user-configs: add HeitorAugustoLN's configuration again 2025-11-27 10:10:40 +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
nixvim-ci[bot]
70cb480446 flake.lock: Update
Flake lock file updates:

• Updated input '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
Matt Sturgeon
a635b56894 plugins/barbar: add nullOr workaround for keymaps lua warning
Currently, `types.either` has support for the new valueMeta attribute
added by v2 check and merge, while `types.nullOr` does not.

The `lua` option deprecation warning implemented in
`modules/keymaps.nix` requires `valueMeta`, so re-implement `nullOr`
using `types.either` as a workaround.
2025-11-21 09:27:16 +00:00
Matt Sturgeon
d0b0b75a13 modules/keymaps: fix lua option deprecation warning
The deprecation warning for the keymap-submocule `lua` option relied on
`getSubOptions`, however this is fundamentally flawed because that
function returns uses a different module eval from the one that merges
submodule definitions.

Since definitions are not used by `getSubOptions`,
`options.lua.isDefined` will never be true.

Instead, we have two choices:

1. Add a `luaIsDefined` option to the keymap submodule
2. Use the new v2 merge's `valueMeta` to access the actual module eval
2025-11-21 08:21:29 +00:00
NAHO
d73eb6f142 ci: enable stricter Bash error checking
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-11-20 23:22:53 +00:00
Matt Sturgeon
695b0b80f8 lib/overlay: remove overridability
The lib-overlay was previously wrapped using `makeOverridable`, but its
only input is the flake itself, which is not intended to be overridden.

Remove the wrapper and expose the overlay as a plain function.
2025-11-20 20:57:10 +00:00
Matt Sturgeon
c53e0161c3 lib: simplify bootstrapping
Previously, `lib/top-level.nix` used an `_isExtended` flag to indicate
whether the provided `lib` was already extended. This made bootstrapping
unclear and introduced the possibility of circular construction.

All construction now flows through the lib-overlay, removing
`_isExtended`. As a result, `lib/top-level.nix` always receives the
final extended lib.

The `<flake>.lib.nixvim` output is now defined as:

    (lib.extend <nixvim>.lib.overlay).nixvim

The overlay now imports `top-level.nix` directly, making it the
canonical entrypoint for constructing Nixvim's section of the lib.

A clarifying doccomment was added to `lib/top-level.nix`.
2025-11-20 20:57:10 +00:00
Matt Sturgeon
f11c43612f lib/overlay: rename and document overlay arguments
Rename the overlay arguments from the conventional `final: prev:` to the
more explicit `lib: prevLib:`, reflecting that this overlay operates
only on the Nixpkgs lib, rather than a full package set.

Add a doccomment explaining how the overlay is intended to be applied
(via `lib.extend`) and what each argument represents.

Improved inline comments in the overlay.
2025-11-20 20:57:10 +00:00