Commit graph

1873 commits

Author SHA1 Message Date
Gaetan Lepage
4766d05fb1 plugins/octo: do not run tests as they are flaky 2024-06-21 16:04:39 +02:00
Matt Sturgeon
39d1c95061
modules/diagnostic: init 2024-06-21 13:00:01 +01:00
Matt Sturgeon
66b23fff80
plugins/telescope: normalize plugin defaults 2024-06-21 08:49:09 +01:00
Matt Sturgeon
6ab2a39e6a
plugins/utils: normalize plugin defaults 2024-06-21 08:49:09 +01:00
Matt Sturgeon
b10a391bd0
plugins/ui: normalize plugin defaults 2024-06-21 08:49:08 +01:00
Matt Sturgeon
d7b0cf8014
plugins/statuslines: normalize plugin defaults 2024-06-21 08:49:08 +01:00
Matt Sturgeon
0caa5b957e
plugins/none-ls: normalize plugin defaults 2024-06-21 08:49:08 +01:00
Matt Sturgeon
f596505897
plugins/neotest: normalize plugin defaults 2024-06-21 08:49:08 +01:00
Matt Sturgeon
0f07201a0c
plugins/lsp: normalize plugin defaults 2024-06-21 08:49:08 +01:00
Matt Sturgeon
6f408f2bd0
plugins/languages: normalize plugin defaults 2024-06-21 08:49:03 +01:00
Matt Sturgeon
a208c7181c
plugins/git: normalize plugin defaults 2024-06-21 08:48:00 +01:00
Matt Sturgeon
25eed3c2f5
plugins/filetrees: normalize plugin defaults 2024-06-21 08:48:00 +01:00
Matt Sturgeon
b86db98f53
plugins/dap-ui: normalize plugin defaults 2024-06-21 08:48:00 +01:00
Matt Sturgeon
d61ecb3f73
plugins/completion: normalize plugin defaults 2024-06-21 08:47:40 +01:00
Matt Sturgeon
48f1e30bf7
plugins/colorschemes: normalize plugin defaults 2024-06-21 08:45:30 +01:00
Matt Sturgeon
d57cbd867a
plugins/bufferlines: normalize plugin defaults 2024-06-21 08:45:30 +01:00
Matt Sturgeon
9000e69f4b
lib/options: drop special case for string defaults
No longer assume that string-type plugin defaults are already
pre-formatted.

Instead, pre-formatted values should be defined using
`literalExpression` or `literalMD`.
2024-06-21 08:45:30 +01:00
Gaetan Lepage
735fbeece8 Revert "helpers/vim-plugin: fix mkVimPlugin when defaultPackage.meta.homepage doesn't exist"
This reverts commit a6b247359f.
2024-06-21 08:53:33 +02:00
github-actions[bot]
86344b2653 flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1' (2024-06-06)
  → 'github:cachix/git-hooks.nix/8cd35b9496d21a6c55164d8547d9d5280162b07a' (2024-06-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0a7ffb28e5df5844d0e8039c9833d7075cdee792' (2024-06-16)
  → 'github:nix-community/home-manager/d7830d05421d0ced83a0f007900898bdcaf2a2ca' (2024-06-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b60ebf54c15553b393d144357375ea956f89e9a9' (2024-06-16)
  → 'github:NixOS/nixpkgs/c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e' (2024-06-18)
2024-06-21 08:53:33 +02:00
Gaetan Lepage
744dfea48b flake/dev: add list-plugins script/command 2024-06-20 09:47:52 +02:00
Gaetan Lepage
affee53852 modules: use real nix expressions for option examples 2024-06-20 08:07:10 +02:00
Saien Govender
16db91b37a Fix typo in highlights.nix
Example of highlightOverride used incorrect option name.
2024-06-19 16:17:23 +02:00
Gaetan Lepage
0e93a59567 Revert "plugins/neotest/adapters/playwright: temporarily enable telescope when this adapter is used"
This reverts commit 34d75943ed.
2024-06-18 21:45:16 +02:00
Gaetan Lepage
c2c81a2734 tests/plugins/sniprun: disable old irrelevant test for sniprun 2024-06-18 20:21:14 +02:00
Gaetan Lepage
9ed3538685 plugins/cmp-tabby: switch to RFC-42 style 2024-06-18 20:19:14 +02:00
Gaetan Lepage
bf109a3e59 plugins/none-ls: disable rubyfmt test as it is broken 2024-06-18 11:38:52 +02:00
Gaetan Lepage
f5de31debc pugins/lsp/rust-analyzer: temporarily remove rust-analyzer settings options declarations 2024-06-18 11:38:52 +02:00
Gaetan Lepage
846b3c991e helpers/vim-plugin: fix mkVimPlugin when defaultPackage.meta.homepage doesn't exist 2024-06-18 11:38:52 +02:00
Gaetan Lepage
8609ea3ce4 plugins/lsp/bashls: set correct package 2024-06-18 11:38:52 +02:00
github-actions[bot]
6d7131995a flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/892f76bd0aa09a0f7f73eb41834b8a904b6d0fad' (2024-06-11)
  → 'github:nix-community/home-manager/0a7ffb28e5df5844d0e8039c9833d7075cdee792' (2024-06-16)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/315aa649ba307704db0b16c92f097a08a65ec955' (2024-06-09)
  → 'github:lnl7/nix-darwin/29b3096a6e283d7e6779187244cb2a3942239fdf' (2024-06-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/57d6973abba7ea108bac64ae7629e7431e0199b6' (2024-06-12)
  → 'github:NixOS/nixpkgs/b60ebf54c15553b393d144357375ea956f89e9a9' (2024-06-16)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1' (2024-06-11)
  → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
2024-06-18 11:38:52 +02:00
Matt Sturgeon
5755ff0958
plugins/sniprun: switch to mkNeovimPlugin 2024-06-17 21:27:17 +01:00
Gaetan Lepage
b822078ec1 plugins/ts-autotag: switch to mkNeovimPlugin 2024-06-17 11:02:51 +02:00
Matt Sturgeon
7087b6014d
plugins/cmp-git: general cleanup of options
- Replace all pre-formatted plugin defaults
- Move several options to `strLuaFn`
- Refactored "action" options to use a `mkAction` helper
- Fix some incorrect examples/tests
- Remove undocumented `filter_fn` from settings example
2024-06-17 09:04:50 +01:00
Matt Sturgeon
130a66bce7
plugins/ltex-extra: minor options cleanup
- Remove stringified default values
- Use an enum for log levels
- Remove adding package (done by mkNeovimPlugin)
2024-06-17 08:51:33 +01:00
Matt Sturgeon
36b4a39b2b
lib/types: allow assigning raw lua to string lua
Relax the check a little to allow (slightly) incorrect usage and enable migrating option types to string lua types.
2024-06-17 00:01:40 +01:00
Matt Sturgeon
2d063c2c24
lib/types: simplify isRawType
No change in behaviour.
2024-06-17 00:01:39 +01:00
Matt Sturgeon
69e43a6bf9
plugins/none-ls: refactor mkRaw
- Allow passing raw types through mkRaw
- Throw an error when passing invalid input into mkRaw
2024-06-17 00:01:39 +01:00
Nikhil Singh
6ac0d2869d docs/config-examples: add niksingh710's config 2024-06-16 23:18:17 +05:30
Matt Sturgeon
7a2a25af02
ci: simplify docs-build workflow 2024-06-14 15:42:05 +01:00
Gaetan Lepage
3834c4e0db plugins/cmp: add cmp_ai source 2024-06-14 16:25:00 +02:00
Matt Sturgeon
582641a639
lib/options: fix minor typo 2024-06-14 12:29:53 +01:00
Matt Sturgeon
8e8c22ce65
lib/options: rename convertArgs to processDefaultNullArgs 2024-06-14 12:28:59 +01:00
Matt Sturgeon
5cec79e59f
lib/options: migrate defaultNullOpts to use pluginDefault
Rename all instances where the plugin default argument is named
`default` to `pluginDefault` to avoid conflict.
2024-06-14 12:25:06 +01:00
Matt Sturgeon
e51b8b9b5c
lib/options: remove defaultNullOpts.mkDesc
Leave a stub for now, which aborts with an error message.
2024-06-14 10:56:11 +01:00
Matt Sturgeon
6e979dbe94
plugins/barbar: switch from mkDesc to pluginDefaultText 2024-06-14 10:49:06 +01:00
Matt Sturgeon
44cd01b253
plugins/edgy: switch from mkDesc to pluginDefault 2024-06-14 10:49:05 +01:00
Matt Sturgeon
a8943f2502
lib/options: allow pluginDefault in any helper
All helpers eventually go through `mkNullOrOption`, so we can move where
`pluginDefault` is handled there.

Added a private helper `processNixvimArgs` that can be used by any future
helper that needs to call `lib.mkOption` directly.

It might make sense to offer a `helpers.mkOption` which simply wraps
`lib.mkOption` but with support for custom args like `pluginDefault`?
2024-06-14 10:49:05 +01:00
Matt Sturgeon
eb5c090e90
plugins/lsp/tflint: init 2024-06-14 09:46:32 +01:00
Matt Sturgeon
ea5078fc10
plugins/lsp/jsonnet-ls: init 2024-06-14 09:31:12 +01:00
Michael Thomas
db93efffdb plugins/toggleterm: allow lua functions in float_opts keys which support them 2024-06-14 09:05:24 +02:00