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

1562 commits

Author SHA1 Message Date
Arne
416997150b plugins/tiny-glimmer-nvim: init 2025-11-22 09:28:42 +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
Matt Sturgeon
8d0ca9abc4 lib: move enableExceptInTests impl to build.test option
Simplify the `enableExceptInTests` attribute, removing the
`_nixvimTests` argument.

We now do a full re-eval of the nixvim configuration before building the
test, giving us a central place to implement `enableExceptInTests` and
its eventual replacement(s).

This extends support for `enableExceptInTests` to all methods of getting
a nixvim test derivation. Previously, it only worked when using `mkTestDerivationFromNixvimModule`.

In `tests/main.nix`, we avoid the re-eval by doing the initial eval with
a "test mode" lib from the start.
2025-11-20 00:22:57 +00:00
Matt Sturgeon
82bc02466c lib/evalNixvim: deprecate specialArgs.helpers
This has been soft-deprecated for several releases. Now that we have
removed our internal usage, we can introduce an eval warning.
2025-11-19 15:22:27 +00:00
Matt Sturgeon
dad19c1238 treewide: remove internal use of helpers module arg 2025-11-19 15:22:27 +00:00
Matt Sturgeon
7add68e918 tests/enable-except-in-tests: refactor
More explicitly assert that `enableExceptInTests` is the expected value.
2025-11-19 15:22:27 +00:00
Matt Sturgeon
6fff5d7fa7 tests: pkgs.systemstdenv.hostPlatform.system
`pkgs.system` is deprecated and prints an eval warning.
2025-11-19 10:54:47 +00:00
Gaetan Lepage
59af09b181 tests/all-package-defaults: disable broken packages on darwin 2025-11-16 23:15:42 +00:00
Gaetan Lepage
b1c9ab7399 tests: disable all tests depending on swift
https://github.com/NixOS/nixpkgs/issues/461474
2025-11-16 23:15:42 +00:00
Gaetan Lepage
11ea1378dd tests/all-package-defaults: rename disabledTests to disabledPackages 2025-11-16 23:15:42 +00:00
Heitor Augusto
a1d3ca9732 tests/fzf-lua: add skim profile test 2025-11-14 23:18:53 +00:00
Paul Hinze
3bef8b6784 plugins/gitportal: init 2025-11-14 22:10:52 +00:00
Heitor Augusto
3832b56fb6 plugins/blink-indent: init 2025-11-14 18:34:30 +00:00
Fovir
6c2ac251d7 plugins/abolish: init. 2025-11-14 08:46:10 +00:00
Gaetan Lepage
b51f31cef8 plugins/efmls-configs: mark jsonlint as unpackaged (dropped from nixpkgs) 2025-11-14 00:06:49 +00:00
Gaetan Lepage
9e58db38c0 tests/all-package-defaults: re-enable gleam on darwin (fixed) 2025-11-14 00:06:49 +00:00
Heitor Augusto
84902b354f colorschemes/vague: init 2025-11-11 23:35:25 +00:00
Guilhem Saurel
2dc09e09cc plugins/fileline: init
Co-authored-by: Gaétan Lepage <gaetan@glepage.com>
2025-11-10 15:37:47 +00:00
Heitor Augusto
faf1fb4b7c colorschemes/vscode: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
e6c39dc269 colorschemes/tokyonight: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
a004cafe2a colorschemes/solarized-osaka: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
885afc20e9 colorschemes/rose-pine: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
bc86464ac3 colorschemes/poimandres: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
6700bc98ec colorschemes/palette: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
1dd1af24a8 colorschemes/oxocarbon: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
56a2c5bcd0 colorschemes/onedark: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
56a97addab colorschemes/one: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
dd4d89a556 colorschemes/nord: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
4e7e7dce8a colorschemes/nightfox: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
f8586fbff4 colorschemes/moonfly: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
8a71fb286b colorschemes/monokai-pro: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
57711eef40 colorschemes/modus: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
01ee241a13 colorschemes/mini-hues: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
9604ca2925 colorschemes/mini-base16: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
e5a8032397 colorschemes/melange: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
687b9dee09 colorschemes/kanagawa-paper: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
3b4b563789 colorschemes/kanagawa: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
9a0ef88542 colorschemes/gruvbox-material-nvim: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
afe3fc99a0 colorschemes/gruvbox-material: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
85488958c3 colorschemes/gruvbox-baby: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
7f8b78b746 colorschemes/gruvbox: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
59760ce0c0 colorschemes/github-theme: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
ca0647f56c colorschemes/everforest: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
9c8623cfef colorschemes/dracula: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
de5bca9f9a colorschemes/dracula-nvim: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
745e478d35 colorschemes/cyberdream: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
e14143b4a8 colorschemes/catppuccin: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
1022f45283 colorschemes/base16: migrate to by-name 2025-11-09 12:29:06 +00:00
Heitor Augusto
cbc842c9a6 colorschemes/bamboo: migrate to by-name 2025-11-09 12:29:06 +00:00