Commit Graph
2111 Commits
Author SHA1 Message Date
Matt Sturgeon 4697b96a01 mergify: fix "update PR" logic
We can no longer simply check the files list matches `[ flake.lock ]`,
since we now also touch `generated/` files.

Mergify conditions cannot be checked against "all" list items; checks
are always applied against "any" item. Therefore we need some
double-negatives to check that "any item does not match a regex that
does not match (flake.lock|generated/.*)".

Yes, this is horrible.
2024-09-12 10:31:45 +01:00
Matt Sturgeon 6cbcac1d43 mergify: use @nix-infra-bot to update queued PRs 2024-09-12 10:31:45 +01:00
Austin Horstman 11c133e89e plugins/rest-nvim: add telescope integration 2024-09-10 23:00:57 -05:00
Austin Horstman 7484be88c7 plugins/rest-nvim: revert by-name migration
Not sure yet why, but this plugin being here breaks treesitter and
neotest.
2024-09-10 22:52:04 -05:00
Nate Smith fc7e9b2927 colorschemes/modus: add new configuration option
The `hide_inactive_statusline` option is available in newer versions of
the theme.
2024-09-10 20:35:37 +00:00
Matt Sturgeon d0c0821245 docs: patch nixos-render-docs to output GFM alerts
This does not add support for _using_ GFM syntax alerts, the nixpkgs
syntax must still be used in option descriptions for now.
2024-09-10 17:46:44 +01:00
Matt Sturgeon 79010edc14 docs/user-guide: update "not found in pkgs" FAQ
Since starting to use `lib.mkPackageOption` throughout nixvim, users
will see a slightly different error message when encountering mismatched
nixpkgs channel errors.

Also fleshed out some recommendations.
2024-09-10 13:46:24 +01:00
traxys faa2e6306c docs: Render alerts using mdbook-alerts
Closes #1791
2024-09-10 08:17:21 +00:00
Austin Horstman facf6b2d0c plugins/rest: remove with lib 2024-09-09 17:36:29 -05:00
Austin Horstman b7dea12375 plugins/rest: add dependencies
https://github.com/rest-nvim/rest.nvim?tab=readme-ov-file#dependencies
2024-09-09 17:36:29 -05:00
Austin Horstman 6c9d178ecc plugins/rest: add filetype association option
This gives users a quick way to setup the filetype association that is
expected to be configured for proper usage of the plugin.
2024-09-09 17:36:23 -05:00
Austin Horstman 9265d1ab08 tests/rust-tools: add rust-analyzer-options test
Make sure the import is working properly
2024-09-09 14:34:18 -05:00
Austin Horstman b1d0959bc9 plugins/languages: move to by-name 2024-09-09 14:34:18 -05:00
Austin Horstman 9d323f3ec7 plugins/neotest: move to by-name 2024-09-09 13:00:29 -05:00
Matt Sturgeon 0f83298f2c tests/generated: use runCommandNoCCLocal and structuedAttrs
The former makes the test derivation _slightly_ smaller, the latter
makes the `$errors` stdenv variable slightly more robust.
2024-09-09 16:14:14 +01:00
Matt Sturgeon 9f4c9ea7e4 tests/generated: check packages are found in pkgs
Fixes #2197
2024-09-09 16:14:14 +01:00
Matt Sturgeon 49c0853ba5 plugins/hardtime: add missing rename for settings.enabled
Was omitted from #2193 due to confusion with our `enable` option.

Fixes #2203
2024-09-09 14:44:12 +01:00
Gaetan Lepage ffa9b8f7a0 plugins/hex: init 2024-09-09 13:35:18 +00:00
Austin Horstman 1d6afdbce0 plugins/treesitter: clarify nixGrammars and ensure_installed 2024-09-09 08:30:45 -05:00
Matt Sturgeon 54599ad555 tests/plugins-by-name: test that required files exist 2024-09-09 11:50:42 +01:00
Matt Sturgeon 34b61f9b5b plugins/by-name: add missing test files
- Added "empty" test for:
  - autoclose
  - commentary
  - easyescape
  - floaterm
  - fugitive
  - gitmessenger
  - intellitab
  - nvim-bqf
  - nvim-colorizer
  - surround
  - treesitter-refactor
  - vim-matchup
2024-09-09 11:50:42 +01:00
Matt Sturgeon 48e9af500c plugins/by-name: remove pathExists check 2024-09-09 11:50:41 +01:00
Matt Sturgeon 6debe9333f plugins/telescope: move to by-name 2024-09-09 11:50:41 +01:00
Matt Sturgeon d07a9c78cc plugins/statuslines: move to by-name 2024-09-09 11:50:41 +01:00
Matt Sturgeon 82e7d153e4 plugins/snippets: move to by-name 2024-09-09 11:50:41 +01:00
Matt Sturgeon 2a91b89445 plugins/git: move to by-name 2024-09-09 11:50:40 +01:00
Matt Sturgeon d016b139fc plugins/filetrees: move to by-name 2024-09-09 11:50:40 +01:00
Matt Sturgeon ad85cd760e plugins/completion: move to by-name
- Move nvim-cmp to plugins/cmp
- Move other completion plugins to plugins/by-name
2024-09-09 11:50:40 +01:00
Matt Sturgeon 3211a63306 plugins/bufferlines: move to by-name 2024-09-09 11:50:40 +01:00
Matt Sturgeon 4491ce4db2 plugins/treesitter: move to by-name 2024-09-09 11:50:39 +01:00
Matt Sturgeon 8815180c62 plugins/lsp: move related plugins to by-name 2024-09-09 11:50:39 +01:00
Matt Sturgeon 91c6b62881 plugins/ui: move to by-name 2024-09-09 11:50:39 +01:00
Matt Sturgeon 2456370ab2 plugins/ai: move to by-name 2024-09-09 11:50:39 +01:00
Matt Sturgeon 672b9e1ceb plugins/dap: move to by-name 2024-09-09 11:50:38 +01:00
Matt Sturgeon 52f125679f plugins/utils: move to by-name 2024-09-09 11:50:38 +01:00
Matt Sturgeon faff32b9f1 plugins/by-name: init
Add support for automatically importing any directories under
`plugins/by-name`.

Includes a validation test, which is run by CI and by the pre-commit hook.
2024-09-09 11:50:38 +01:00
Austin Horstman 6df273540c plugins/rustaceanvim: add lsp assertion 2024-09-08 22:19:02 -05:00
Austin Horstman 68aeb57a35 tests/one: fix deprecation warning 2024-09-08 19:30:17 -05:00
Austin Horstman 4e6bb69680 plugins/none-ls: fix pkg names 2024-09-08 19:22:03 -05:00
Austin Horstman 5330427e2b plugins/none-ls: fix pkg names 2024-09-08 18:35:01 -05:00
Austin Horstman e1a5e39eb9 tests/issues: fix deprecation warning 2024-09-08 17:26:56 -05:00
Gaetan Lepage d50ee5dd2f plugins/lsp: add basedpyright 2024-09-09 00:11:35 +02:00
Matt Sturgeon 475dca6895 plugins/autosource: mkBoolInt -> mkFlagInt 2024-09-08 14:02:03 +01:00
Matt Sturgeon 934484709a colorschemes/everforest: mkEverforestBool -> mkFlagInt 2024-09-08 14:02:03 +01:00
Matt Sturgeon ec61ca9b08 plugins: fix "int flag" style options 2024-09-08 14:02:03 +01:00
Matt Sturgeon 555035ef79 lib: add types.flagInt + defaultNullOpts.mkIntFlag
Either `0` or `1`, but can be coerced from a boolean definition to
support legacy definitions.

When coerced, a warning is printed
2024-09-08 12:54:30 +01:00
refaelshandAustin Horstman 2de406d972 plugins/hardtime: migrate to mkNeovimPlugin
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2024-09-08 11:55:44 +01:00
Matt Sturgeon 810eacf516 tests: set _file to avoid <unknown-file> messages
Since the module system is importing an anonymous fnOrAttr module,
instead of a `path` type module, it doesn't have enough context to
figure out the module's file automatically.
2024-09-07 22:29:43 +01:00
Matt Sturgeon ce4c3a72c1 tests/fetch-test: tweak signature 2024-09-07 22:29:43 +01:00
Austin Horstman d12045e057 plugins/lualine: migrate to mkNeovimPlugin 2024-09-07 14:13:01 -05:00