Commit graph

1282 commits

Author SHA1 Message Date
Aidan Welch
c6051305e5 colorschemes/moonfly: init
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Deploy (push) Blocked by required conditions
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
2025-06-18 23:26:08 +00:00
Matt Sturgeon
ada9f560c3 tests/lsp: disable vectorcode_server as vectorcode is broken
See https://github.com/NixOS/nixpkgs/issues/415770
and https://github.com/NixOS/nixpkgs/pull/416834#discussion_r2153315104
and https://github.com/nix-community/nixvim/pull/3486#issuecomment-2982081727
2025-06-17 23:48:17 +00:00
Gaetan Lepage
be49587a24 colorschemes/solarized-osaka: init
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
2025-06-17 09:42:13 +00:00
sportshead
6a054de04d plugins/lsp: add packageFallback option
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Build unstable (push) Waiting to run
Documentation / Build 24.11 (push) Waiting to run
Documentation / Build 25.05 (push) Waiting to run
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
https://github.com/nix-community/nixvim/pull/3445#pullrequestreview-2908615597
2025-06-16 17:19:27 +00:00
Austin Horstman
d025ea6be3 tests/easy-dotnet: dont run nvim
Will try to run dotnet tool install for easydotnet testrunner. We can't
mutate the environment, disable running, for now.
2025-06-11 09:02:58 +00:00
Austin Horstman
6e8d9f84b8 plugins/avante: providers migration 2025-06-11 09:02:58 +00:00
Gaetan Lepage
e89eb15456 tests/parrot: do not run nvim as it requires an api_key 2025-06-11 09:02:58 +00:00
Gaetan Lepage
e0b3d8bc3a plugins/kitty-navigator: init
Some checks failed
Build and deploy documentation / deploy (push) Has been cancelled
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
2025-06-09 19:21:44 +00:00
Gaetan Lepage
73417a761e plugins/ansiesc: init 2025-06-09 19:13:01 +00:00
sportshead
2b6f694b48 output: add extraPackagesAfter option
Some checks are pending
Build and deploy documentation / deploy (push) Waiting to run
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Allow users to add packages to the end of `PATH` in the neovim wrapper.
This is useful for LSP versions that might need to be overriden based on
the environment, e.g. `haskell-language-server` versions provided by a
project's devshell.
2025-06-08 22:14:58 +00:00
Fay Ash
dce571fae5 plugins/neotest: allow raw lua for quickfix.open setting 2025-06-08 12:07:09 +00:00
Stanislav Asunkin
d063d0dd5e plugins/treesitter: don't exclude nvim-treesitter from combining by default
Nvim-treesitter's parsers from nixpkgs don't include grammars anymore.
Originally it was added to standalonePlugins as workaround.
If the user has some other plugin containing treesitter queries, this
change can cause a build failure due to collisions. But since it is
easier to add the plugin to standalonePlugins compared to removing it, I
think this should be the default.
2025-06-02 20:15:06 +03:00
Stanislav Asunkin
65d35db5ca modules/performance: fix specifying combinePlugin.standalonePlugins as packages when byte compilation enabled
Previously, specifying plugins as packages in the
`performance.combinePlugins.standalonePlugins` option did not work when
the `performance.byteCompileLua` option was also enabled. This issue was
due to several package transformations performed by the
`byteCompileLua` which broke package comparison.

There are at least three methods to fix the issue:

- Change transformation order: combine plugins first, then byte-compile
  them.
- Compare every possible transformation when determining if plugins are
  standalone.
- Get the name of the package and use it for comparison.

The first method did not work because the current `byteCompileLuaDrv`
implementation does not support symlinks to directories. The second
method appears too fragile. This commit implements the third method, as
it requires minimal code changes and is straightforward. The downside is
that it might exclude multiple packages with the same name, although
this should be rare.
2025-06-02 18:15:32 +03:00
Matt Sturgeon
7d0ac00557
flake/ci: re-enable most tests on buildbot
Most still run on all platforms, but many now only run on x86_64-linux.
2025-05-30 20:56:17 +01:00
Gaetan Lepage
af5a0deadd tests/openscad: disable on darwin (broken dependency)
https://github.com/NixOS/nixpkgs/issues/411700
2025-05-28 21:33:48 +02:00
Alex Hamilton
c10f60d007 Migrate homeManagerModules uses to homeModules 2025-05-25 12:41:12 -04:00
Gaetan Lepage
764a9b8dda treewide: replace mentions of 24.11 with 25.05 2025-05-24 18:35:23 +10:00
Gaetan Lepage
4dc8d1e918 plugins/vim-test: init 2025-05-24 06:26:17 +10:00
Gaetan Lepage
c457fe9424 plugins/dbee: init 2025-05-24 06:14:14 +10:00
Gaetan Lepage
563fdaeef9 tests: disable papis test on darwin
https://github.com/NixOS/nixpkgs/issues/408528
2025-05-19 00:26:01 +02:00
FKouhai
1c53ad9b2f
plugins/timerly: init 2025-05-13 23:50:02 +02:00
Gaetan Lepage
d385972711 Revert "tests/lsp: disable ols test because odin is broken"
This reverts commit 6597afe209.
2025-05-13 21:30:47 +00:00
Stanislav Asunkin
4c23fb2738 tests/modules/performance/combine-plugins: use shared stub plugins
This commit replaces stub plugins with the shared ones from utils
module.
This also removes separate tests for checking python and lua
dependencies. This is now tested in the 'default' test thanks to
`pluginChecks` code.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
a49b270861 tests/modules/performance/byte-compile-lua: use shared stub plugins
This commit finalizes using shared utils stub plugins for
performance.byteCompileLua tests.
To re-use more code from utils module, 'pluginChecksFor', 'libChecksFor'
and 'pythonChecksFor' functions were introduced. These functions
generate a check code for the given plugins/libs names.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
75f2c1b1f1 modules/performance: ensure dependencies of lua packages also compiled
Previously only extraLuaPackages themselves were byte-compiled, not
theirs dependencies. This commit fixes that by compiling lua packages
recursively. It uses byte-compile-lua-lib.nix shared file.
Also this commit uses the shared stub lua libraries for extraLuaPackages
byte-compiling test.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
9474ce916a modules/performance: ensure all lua dependencies are byte-compiled
This commit replaces custom lua plugins in tests with shared stub
plugins from utils module.
After this change the test has started to fail. Debugging this issue
I found out that dependencies of plugins weren't processed.
This commit improves the test assertion to detect duplicated
dependencies in this case and fixes the underlying issue by also
processing dependencies.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
2210d7bb10 tests/utils/plugin-stubs: add shared plugin stubs for use in tests
This commit introduces a shared utils module for future use in
performance tests. It includes lua libraries and plugins of various
types and dependencies. Additionally, it provides lua code snippets to
verify that all features supplied by the plugins are functioning
correctly.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
2c6182351f modules/performance: add ability to byte-compile plugin lua dependencies
This commit adds byte compiling of plugin lua dependencies
(specifically propagatedBuildInputs). It's enabled by
`performance.byteCompileLua.luaLib` option.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
404e56066f modules/performance: add ability to byte compile extraLuaPackages
This commit adds `performance.byteCompileLua.luaLib` options. When
enabled it byte-compiles lua packages from extraLuaPackages option.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
fac192c022 tests/modules/performance/byte-compile-lua: improve tests
* improve assert messages
* validate both byte-compiled and non-byte-compiled files are working
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
d7475dd0fa tests/modules/performance/byte-compile-lua: test with stub plugins
To reduce unexpected breakages due to changes in nixpkgs, replace the
tested plugins with specially crafted stub plugins.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
5b47c65705 tests/modules/performance/byte-compile-lua: improve bytecode detection
Previously, to determine if a file is byte-compiled, a simple binary
file detection was used, specifically checking if it contained any null
bytes. This commit updates the check to read the file header and compare
it with a known LuaJIT header.
2025-05-12 17:39:01 +03:00
Stanislav Asunkin
ddddd780e0
tests/fetch-tests: avoid unnecessary copy-to-store
Previously path was concatenated using string interpolation. This commit
switches from string interpolation to path interpolation.

The problem is nix will copy the "${directory}" to a new store
object, meaning anything outside its root won't be available.

From the nix manual:

> A path in an interpolated expression is first copied into the Nix
> store, and the resulting string is the store path of the newly created
> store object.

https://nix.dev/manual/nix/2.28/language/string-interpolation#interpolated-expression
2025-05-12 15:24:52 +01:00
Jalil David Salamé Messina
69266437be
plugins/hunk: init
Add support for [hunk.nvim][1], a plugin for splitting diffs.

Also add myself as a maintainer for it.

[1]: https://github.com/julienvincent/hunk.nvim
2025-05-12 08:42:08 +02:00
Matt Sturgeon
17e13d478d
plugins/oil-git-status: improve signcolumn warning
The warning should trigger when a valid value is configured that
restricts the sign column to less than 2 columns.
2025-05-09 21:23:06 +01:00
Matt Sturgeon
2797fd8b64
plugins/oil-git-status: update signcolumn instructions
See:

- https://github.com/refractalize/oil-git-status.nvim#configuration
- https://neovim.io/doc/user/options.html#'signcolumn'
2025-05-09 19:26:36 +01:00
Alison Jenkins
2d485ca1a2
colorschemes/bamboo: init 2025-05-09 08:20:57 +01:00
Heitor Augusto
4bd021d25f plugins/lz-n: add tests for keymap(<plugin>).set API 2025-05-09 01:14:36 +01:00
FKouhai
aa1ae69b57
plugins/oil-git-status: init 2025-05-09 00:19:09 +02:00
Austin Horstman
c1fa5ee942 plugins/dap-view: disable controls test
Needs upstreamed plugin update for us to test it.
2025-05-08 13:35:47 -05:00
Austin Horstman
cca235aacf plugins/dap-view: init module 2025-05-08 13:35:47 -05:00
Austin Horstman
324801b226 plugins/whitespace: init module 2025-05-08 13:33:11 -05:00
Austin Horstman
1158bb13f2 plugins/visual-whitespace: init module 2025-05-08 13:32:52 -05:00
Austin Horstman
5fed6b9363 plugins/claude-code: don't test on darwin
Currently failing on our CI, for some reason.
2025-05-08 10:51:26 +02:00
Austin Horstman
b17c801f2e plugins/claude-code: init module 2025-05-08 10:35:31 +02:00
Gaetan Lepage
6597afe209 tests/lsp: disable ols test because odin is broken
https://github.com/NixOS/nixpkgs/pull/404919
2025-05-07 22:43:05 +02:00
Matt Sturgeon
c26f5c2e31 plugins/lsp-format: use lsp.onAttach instead of an autoCmd 2025-05-06 14:08:03 +01:00
Jeremy Fleischman
64cd675ece
Port lsp-format to use non-deprecated setup instructions
Upstream still documents the now-deprecated
`require("lspconfig").<name>.setup` mechanism. I believe the modern
alternative is to register a `LspAttach` autocmd. For more context, see:

- https://github.com/lukas-reineke/lsp-format.nvim/issues/98
- https://github.com/lukas-reineke/lsp-format.nvim/pull/99
2025-05-05 14:13:25 -07:00
FKouhai
7d18194a22 colorschemes/kanagawa-paper: init 2025-05-04 20:42:00 +01:00
Benedikt Peetz
8fcd7f1a92 plugins/lf: init 2025-05-03 22:58:16 +01:00