Commit graph

2006 commits

Author SHA1 Message Date
Florian Brandes
d7bdf1f4b8
plugins/none-ls: update prisma package name
Due to https://github.com/NixOS/nixpkgs/pull/337521

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-08-31 21:06:05 +01:00
Austin Horstman
a8dd7a5657
plugins/git-worktree: fix no package test 2024-08-31 09:43:20 -05:00
Austin Horstman
3325dcb00b
plugins/gitgutter: add tests 2024-08-31 09:43:20 -05:00
Austin Horstman
b6d96387d1
plugins/gitgutter: fix grepPackage
Resolves https://github.com/nix-community/nixvim/issues/2124
2024-08-31 09:09:27 -05:00
Andreas Krath
ee6ee48bbe
readme: fix incorrect description 2024-08-31 10:50:58 +02:00
Austin Horstman
56208f9e3f
plugins/telescope: add iconsPackage 2024-08-30 15:13:19 -05:00
Austin Horstman
bcda408e78
plugins/treesitter: revert add iconsPackage 2024-08-30 08:10:13 -05:00
refaelsh
2704133fe3
contributing: document plugins/default.nix
Mention that new plugins need to be imported via the `default.nix` file.
2024-08-29 22:57:13 +01:00
Austin Horstman
c96b46f44b
plugins/fugitive: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
82b899ab6d
plugins/committia: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
38bc0b88e9
plugins/neo-tree: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
6945c6c17f
plugins/nvim-tree: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
efb004a61f
plugins/gitgutter: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
710f3472ec
plugins/packer: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
4fe95d4502
plugins/lazy: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
ce6573424d
plugins/lualine: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
831c814bb3
plugins/git-worktree: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
d4bcebc7ca
plugins/neogit: use gitPackage 2024-08-29 16:39:53 -05:00
Austin Horstman
98dc0aabe2
plugins/alpha: fix iconsPackage 2024-08-29 15:53:38 -05:00
Austin Horstman
6eb2152077
plugins/fzf-lua: fix iconsPackage 2024-08-29 15:53:33 -05:00
Austin Horstman
0db6e86e8d
plugins/alpha: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
f2ef2929ad
plugins/diffview: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
e122f465a9
plugins/fzf-lua: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
6f4eced1ca
plugins/chadtree: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
86d66e410a
plugins/lspsaga: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
46cf3dad9f
plugins/bufferline: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
f59a3c70aa
plugins/barbar: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
4ab24e77a5
plugins/neo-tree: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
d3e387899f
plugins/nvim-tree: use iconsPackage 2024-08-29 14:23:37 -05:00
Austin Horstman
150c5f454b
plugins/trouble: use iconsPackage 2024-08-29 11:06:15 -05:00
Austin Horstman
4acf12c49d
plugins/treesitter: add iconsPackage 2024-08-29 07:57:58 -05:00
github-actions[bot]
bc7f4166f4 generated: Update
- Updated efmls-configs.nix
- Updated rust-analyzer.nix
2024-08-29 07:46:32 +02:00
github-actions[bot]
eff7d61785 flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b' (2024-08-23)
  → 'github:cachix/git-hooks.nix/4509ca64f1084e73bc7a721b20c669a8d4c5ebe6' (2024-08-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d0e1602ddde669d5beb01aec49d71a51937ed7be' (2024-08-24)
  → 'github:NixOS/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2' (2024-08-28)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
  → 'github:numtide/treefmt-nix/3ffd842a5f50f435d3e603312eefa4790db46af5' (2024-08-28)
2024-08-29 07:46:32 +02:00
Matt Sturgeon
70e9532ec2
docs: fix typo in pkgs arg default value 2024-08-28 05:45:29 +01:00
Matt Sturgeon
975af6a498
tests: simplify fetch-tests slightly
Simplify by reducing the number of transformations done to the
test-files' test-case modules attr.

Since `pkgs.linkFarm` can accept _either_ a list or an attrset, we don't
need to transform the attrset into a list.
2024-08-28 05:45:01 +01:00
Matt Sturgeon
1c879ec3aa
tests: add regression test for warnings + assertions
Ensure `mkTestDerivationFromNixvimModule` correctly test warnings & assertions.

Also did some minor cleanup:
- Call `failing-tests.nix` using `pkgs.callPackage`
- Replace repetive use of `testBuildFailure` with a wrapper
  `mkFailingNixvimTest`
2024-08-28 00:44:34 +01:00
Matt Sturgeon
4814147442
modules/test: add config and options passthrus
This should make inspection of tests a little easier.
2024-08-28 00:08:10 +01:00
Matt Sturgeon
af31063538
modules/test: switch to runCommand 2024-08-28 00:08:10 +01:00
Austin Horstman
1085bcd7cc
plugins/which-key: fix icon examples
Which-key implemented proper icon support, utilize the icon attribute to
properly override/set icons so that alignment doesn't get thrown off and
it's inherited with child mappings.
2024-08-27 12:45:10 -05:00
Matt Sturgeon
60ea38d2c4
tests: test the tests
Adds a regression test for #2076. This test ensures that
`extraConfigLua` is used in `finalPackage` and that the test will fail
correctly when running `nvim` results in unexpected output.
2024-08-27 03:54:43 +01:00
Austin Horstman
eac092c876
readme: fix incorrect demo configuration 2024-08-26 17:11:45 -05:00
Sascha Ohms
7e3ed24e52 plugins/lint: fix inconsistent description + examples 2024-08-26 21:07:13 +00:00
Matt Sturgeon
9af4c3970c
tests: fix tests by enabling wrapRc
Since cbd1003d9d I'm able to add _some_
invalid config definitions to modules the tests are using and get no
build error.

For example `extraConfigLua = null;` should produce an invalid type
error, but doesn't.

One less visible change in that commit is the move away from using the
"standalone" wrapper (`makeNixvimWithModule`), which implicitly sets
`wrapRc = true`.

Adding back `wrapRc` to the tests seems to fix the issue, however this
makes me wonder if there's an underlying issue with wrapping/not-wrapping?

Perhaps we've simply uncovered a long-standing eval issue that is masked
over by using `wrapRc`?
2024-08-26 21:57:05 +01:00
Matt Sturgeon
fa2058970c
lib/tests.nix: fix infinite recursion in args 2024-08-26 21:57:05 +01:00
elythh
665680a5ca plugins/lint: fix conform incorrect option description 2024-08-26 21:02:12 +02:00
elythh
aa1f5a74ff plugins/comment-box-nvim: init 2024-08-26 20:28:32 +02:00
Austin Horstman
45bb6636e5
tests/lsp: re-enable typst-lsp 2024-08-26 12:07:28 -05:00
Austin Horstman
d0564ce4cf
tests/example-configuration: re-enable jsonls 2024-08-26 12:02:08 -05:00
github-actions[bot]
9673ea70f4 flake.lock: Update
Flake lock file updates:

• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/ea319a737939094b48fda9063fa3201ef2479aac' (2024-08-24)
  → 'github:lnl7/nix-darwin/ac5694a0b855a981e81b4d9f14052e3ff46ca39e' (2024-08-25)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
  → 'github:NixOS/nixpkgs/d0e1602ddde669d5beb01aec49d71a51937ed7be' (2024-08-24)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/a05d1805f2a2bc47d230e5e92aecbf69f784f3d0' (2024-08-18)
  → 'github:NuschtOS/search/5a08d691de30b6fc28d58ce71a5e420f2694e087' (2024-08-25)
2024-08-26 16:32:17 +00:00
jacek szymanski
bb8ecad13c plugins/nvim-jdtls: allow lua on nvim-jdtls.data
Make it possible to set data directory with lua, so it can be project-dependent.
2024-08-25 17:11:45 +02:00