Commit Graph
912 Commits
Author SHA1 Message Date
Austin Horstman 32969847d3 plugins/lsp-format: migrate to mkNeovimPlugin 2024-10-23 08:58:17 -05:00
Matt Sturgeon c4ad4d0b2e modules/nixpkgs: add overlays option
Based on the `nixpkgs.overlays` option available in NixOS, allows users
to further customize the `pkgs` instance used when evaluating nixvim.

The standard module tests are now provided a few extra module args to
enable a test where we instantiate a custom nixpkgs instance.
2024-10-19 21:11:42 +01:00
Gaetan Lepage e3239b4d32 plugins/cmp: add cmp-nixpkgs-maintainers source 2024-10-19 12:06:20 +02:00
Austin Horstman 6a8124ca7b tests/efmls-configs: add unpackaged 2024-10-18 20:36:11 -05:00
Matt Sturgeon 036e11665f tests: cleanup tests to better use callTest pattern
e.g. Prefer taking `pkgs.*` attrs directly as function arguments.
2024-10-18 20:52:02 +01:00
Matt Sturgeon 4a508ceee2 tests: use callTest pattern
Allows using the `callPackage(s)` pattern on tests.

Rather than using `pkgs.callPackage`, we implement our own variant using
`lib.callPackageWith`.

Our variant (`callTest`) includes additional nixvim-specific stuff
commonly used by our tests.
2024-10-18 20:52:02 +01:00
Matt Sturgeon 990ef039f7 tests: move test derivations to tests/default.nix
Move the previous `default.nix` to `main.nix` so that `default.nix` can
be used for defining the set of all test derivations.

`main.nix` is imported by `default.nix`, but is only responsible for the
tests built from `tests/test-sources/`.
2024-10-18 20:51:30 +01:00
Coutinho de Souza 3c7b6ae5d1 plugins/telekasten: init 2024-10-17 17:28:17 -03:00
Gaetan Lepage b9ea7f88b6 plugins/nixvim: init 2024-10-16 11:48:37 +02:00
Austin Horstman 429f2e8d1a plugins/lsp/efmls-configs: enable lua_format on x86 darwin 2024-10-15 13:12:13 -05:00
Austin Horstman 296bb568ee plugins/lsp/efmls-configs: enable php tests again on darwin 2024-10-15 13:08:38 -05:00
Austin Horstman db95f9dbd4 plugins/none-ls: disable broken packages 2024-10-15 13:03:15 -05:00
Austin Horstman 49f7d73de5 plugins/lsp/efmls-configs: disable dmd
Broken package atm
2024-10-15 12:55:59 -05:00
Austin Horstman bb86faf8cf plugins/auto-save: fix deprecation errors 2024-10-15 12:49:05 -05:00
Gaetan Lepageandnix-infra-bot 619e24366e plugins/lsp/hls: handle automatic installation of required GHC 2024-10-13 14:33:12 +00:00
Stanislav Asunkin 767eb62f48 modules/output: obtain plugin configs from wrapped neovim
The official method for obtaining the generated initRc content is from
wrapped neovim rather than from makeNeovimConfig helper. To use this
approach: first wrap neovim with the generated config, then override it
with our wrapperArgs.
2024-10-13 09:54:05 +03:00
Stanislav Asunkin 21f7ed6eb6 tests/modules/output: test that init.lua contains all config sections
This test was removed in 3d1224a039 to
remove IFD. Rewrite the test using `pkgs.runCommandLocal` and grep.
2024-10-13 09:28:12 +03:00
Austin Horstman 48b62ac2e6 plugins/trouble: update to v3 2024-10-12 12:08:51 -05:00
Austin Horstman df515c651e tests/trouble: add more examples 2024-10-12 11:40:37 -05:00
Matt Sturgeon af650ba940 tests/lsp-servers: de-couple from grouped tests
Follow up to cab6b0c9fe
2024-10-10 21:50:23 +01:00
Matt Sturgeon 0d2751b53c tests/generated: validate declared lsp packages 2024-10-10 18:13:54 +01:00
Austin Horstman 684df4d93d tests/lua-ls: disable on x86_64-darwin
https://github.com/NixOS/nixpkgs/issues/347742
2024-10-10 09:18:44 -05:00
Austin Horstman 75ae10571d tests/byte-compile-lua: server_configurations -> configs
https://github.com/neovim/nvim-lspconfig/commit/bedb2a0df105f68a624a49b867f269b6d55a2c89
2024-10-10 08:58:59 -05:00
Austin Horstman c7fc381247 tests/magma-nvim: only run on linux 2024-10-10 08:41:10 -05:00
Austin Horstman eda1402981 plugins/auto-session: migrate to mkNeovimPlugin 2024-10-08 17:57:43 -05:00
Quentin Boyer ed4958c206 plugin/lsp: Re-enable sourcekit 2024-10-08 21:29:45 +02:00
Quentin Boyer 8d1e6f5ac4 plugins/lsp: Enable all lsp servers in tests 2024-10-08 21:29:45 +02:00
Quentin Boyer 8e8d9afe8e plugins/lsp: Use the auto-generated lsp plugin list 2024-10-08 21:29:43 +02:00
Quentin Boyer cab6b0c9fe tests: Split off in a single derivation the lsp server test
This test is quite resource intensive, so let's split it to avoid
issues
2024-10-08 21:28:44 +02:00
Austin Horstman 182ffa4583 plugins/nvim-ufo: migrate to mkNeovimPlugin 2024-10-08 08:06:52 -05:00
Austin Horstman fb677540e1 plugins/nonels: move to by-name 2024-10-06 15:11:34 -05:00
Austin Horstman 31acdd4b66 plugins/rest: move to by-name again 2024-10-06 09:35:47 -05:00
Zain Kergaye 0ca98d0210 plugins/wrapping: Add more options 2024-10-02 06:11:12 -06:00
Austin Horstman dfbd272170 tests/neorg: re-enable finally 2024-10-01 23:37:21 -05:00
Austin Horstman 90a4e3d88b tests/lsp/efmls: re-enable cpplint 2024-10-01 23:33:09 -05:00
Austin Horstman 52984eaa0f tests/lsp/efmls: disable php on darwin
Broken dependency on darwin
2024-10-01 23:16:50 -05:00
DataHearthandnix-infra-bot 5f4a4b4759 plugins/earthly: add plugin 2024-09-29 21:37:51 +00:00
Austin Horstman 844336ceb2 plugins/web-devicons: support custom icons and default icon 2024-09-29 13:07:03 -05:00
Matt Sturgeon 7886be8760 lib/types: flip maybeRaw's merge function
`maybeRaw` should prioritise merging `rawLua` before the other type
2024-09-29 16:57:15 +01:00
Gaetan Lepageandnix-infra-bot 2c4e4681db plugins/avante: init 2024-09-28 21:12:33 +00:00
wadsaekandnix-infra-bot c32a43a862 plugins/lsp-signature: init 2024-09-28 17:52:00 +00:00
Gaetan Lepage 13564727c5 plugins/render-markdown: init 2024-09-28 12:39:18 +02:00
mitchmindtreeandnix-infra-bot ae2b9bd445 plugins/idris2: init
Adds the `idris2` neovim plugin.

Also changes `idris2-lsp` to enable this new `idris2` plugin when
enabled, as it's required for `idris2-lsp` to work at all.
2024-09-27 14:27:54 +00:00
Zain Kergaye 31579dc201 plugins/wrapping: init 2024-09-27 02:18:51 -06:00
Matt Sturgeon 2f49c76a6a lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
Matt Sturgeon 6a1bf6bdc3 modules/output: check warnings+assertions on build.package
Add a `build.packageUnchecked` option for use instead of the old `check`
evalNixvim argument.
2024-09-26 18:04:36 +01:00
Austin Horstman 2ea7009e61 tests/none-ls: re-enable clojure 2024-09-26 11:09:59 -05:00
Austin Horstman 1e28932840 tests/lsp: re-enable ols 2024-09-26 11:05:48 -05:00
Austin Horstman 803bded988 tests/lsp: re-enable omnisharp 2024-09-26 11:05:48 -05:00
Austin Horstman 3510cade90 tests/lint: re-enable clojure 2024-09-26 10:51:31 -05:00