Commit Graph
1991 Commits
Author SHA1 Message Date
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
Austin Horstman 8234ee85ea tests/plugins/lightline: fix test
Lightline has an internal list of colorschemes that are supported which
can be found at
https://github.com/itchyny/lightline.vim/blob/master/colorscheme.md
2024-08-24 14:49:36 -05:00
Austin Horstman 89b876dc0d plugins/conform-nvim: migrate to mkNeovimPlugin 2024-08-24 12:24:15 -05:00
Austin Horstman a1c7932bdb plugins/rustaceanvim: fix checkhealth error with neotest configuration
Rustaceanvim will throw an error if the configuration is sourced after
initialization. Our globals are defined at the top of the init.lua so
moving the settings to leverage the globals option and setting a
callback function as default to ensure we dont need to worry about
something initializing it before lspOnAttach is available.
2024-08-24 11:50:06 -05:00
Austin Horstman 1e74f3deab plugins/lsp: make lspOnAttach available globally
Allows plugins to utilize the global nixvim table to access the lsp on
attach function and prevent needing to filter attribute set or manage
the property explicitly in lua.
2024-08-24 11:50:06 -05:00
Austin Horstman 8a272143ee modules/opts: move options to top of init.lua
Using mkOrder to ensure the options can be accessible to everything
throughout the config. Setting right below global table available, so
variables can reference stuff inside global table.
2024-08-24 11:50:06 -05:00
Austin Horstman 203d31810f top-level/output: add global table top of init.lua
Creating a global table at top of init.lua to allow sharing between
different sections of the init.lua without worrying about ordering.
2024-08-24 11:33:08 -05:00
Austin Horstman 45081d5f21 flake-modules/list-plugins: add extra filters
I have been using this more and wanted to create some filters to
onlyoutput the information I cared about. This adds the ability to
filter bykind, state, and whether a plugin has deprecation warnings.
2024-08-24 09:39:29 -05:00
Austin Horstman 3a04cc75e6 flake-modules/dev: add isort 2024-08-24 08:47:04 -05:00
github-actions[bot] 88b1e6a369 flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d' (2024-08-21)
  → 'github:cachix/git-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b' (2024-08-23)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2598861031b78aadb4da7269df7ca9ddfc3e1671' (2024-08-18)
  → 'github:nix-community/home-manager/c2cd2a52e02f1dfa1c88f95abeb89298d46023be' (2024-08-23)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/a8968d88e5a537b0491f68ce910749cd870bdbef' (2024-08-22)
  → 'github:lnl7/nix-darwin/ea319a737939094b48fda9063fa3201ef2479aac' (2024-08-24)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
  → 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
2024-08-24 15:01:55 +02:00
menixator b10ccc5250 docs: fix markdown issue with tree-sitter docs 2024-08-24 10:23:54 +05:00
menixator f4dd8924b1 docs: document how to install custom tree-sitter grammars 2024-08-24 08:11:25 +05:00
Matt Sturgeon 1181535e34 plugins/lsp/extensions: remove with lib + fix mkRaw reference
See https://github.com/nix-community/nixvim/pull/2053#issuecomment-2307961673
2024-08-24 01:55:49 +01:00
Austin Horstman 4c8d3559ac plugins/lightline: migrate to mkNeovimPlugin 2024-08-23 18:26:24 -05:00
Austin Horstman 052ee66dbb docs/mdbook: move description to bottom
Long descriptions for plugins will shove the plugin's source link and
maintainer information far down the page. Since those are fairly short
and the description is a variable size. Moving below to maintain
consistent placement.
2024-08-23 15:07:21 -05:00
Joe Fredette 9033f1cf2d plugins/neotest: fix missing toLuaObject definition 2024-08-23 11:50:21 -04:00