Commit graph

2428 commits

Author SHA1 Message Date
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
refaelsh
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
Matt Sturgeon
c4135d720a
flake/pre-commit: check maintainers when modified 2024-09-07 02:08:23 +01:00
Matt Sturgeon
5c929a161f
flake: remove pre-commit from checks output 2024-09-07 02:08:23 +01:00
Matt Sturgeon
86a4021597
plugins: add top-level deprecation file
- Initialize it with the `treesitter-playground` removal
2024-09-07 01:36:44 +01:00
Austin Horstman
9a156ae60c
plugins/mini-icons: add mockDevIcons 2024-09-06 09:12:54 -05:00
refaelsh
84249a9dab plugins/vim-numbertoggle: init 2024-09-05 22:10:54 +03:00
refaelsh
4df5746694 plugins/vim-autosource: init 2024-09-05 18:52:22 +00:00
refaelsh
9248da3c3b plugins/vim-repeat: init 2024-09-05 18:02:31 +00:00
refaelsh
83aed0e6a3
plugins/nvim-web-devicons: init 2024-09-05 12:12:30 -05:00
Austin Horstman
8ae9e4d8a1
plugins/mini: migrate to mkNeovimPlugin 2024-09-05 09:47:03 -05:00
Austin Horstman
ac4629eecc
plugins/codeium-nvim: move to plulgins/completion 2024-09-05 09:43:18 -05:00
Austin Horstman
b072a4a68f
plugins/codeium-nvim: migrate to mkNeovimPlugin 2024-09-05 09:43:18 -05:00
Matt Sturgeon
c8328e6d59
contributing: update plugin declaration docs 2024-09-05 14:14:00 +01:00
Matt Sturgeon
e48da949cf
tests/package-options: init
The test ensures "package" options use a "literalExpression" in their
defaultText; i.e. it validates `lib.mkPackageOption` was used to build
the package options.

All options whose `default` is a derivation are covered by the test,
other than submodule sub-options.
2024-09-05 02:24:52 +01:00
Matt Sturgeon
fd923a3dd3
lib/options: remove deprecated package option helpers
`mkPackageOption` and `mkPluginPackageOption` have both been replaced
with nixpkg's `lib.mkPackageOption`.
2024-09-05 02:24:52 +01:00
Matt Sturgeon
7409e80bd2
plugins: remove all uses of lib.nixvim.mkPluginPackageOption 2024-09-05 01:32:12 +01:00
Matt Sturgeon
ae3a2c9d10
plugins: remove all use of lib.nixvim.mkPackageOption 2024-09-05 01:31:18 +01:00
Matt Sturgeon
84676128f8
plugins/dap/extensions: use lib.mkPackageOption 2024-09-04 21:56:49 +01:00
Matt Sturgeon
bf1d22e65c
plugins/neotest/adapters: use lib.mkPackageOption 2024-09-04 21:56:49 +01:00
Matt Sturgeon
37165453a9
plugins/lsp: use mkPackageOption for pylsp + rust-analyzer 2024-09-04 21:56:49 +01:00
Matt Sturgeon
848246bc64
plugins/telescope/media-files: use mkPackageOption for dependencies 2024-09-04 21:56:49 +01:00
Matt Sturgeon
80150abad6
plugins/spectre: cleanup package options 2024-09-04 21:56:48 +01:00
Matt Sturgeon
e26f044339
plugins/treesitter: use mkPackageOption 2024-09-04 21:56:48 +01:00
Matt Sturgeon
2132702a47
plugins: use mkPackageOption for iconsPackage options 2024-09-04 21:56:48 +01:00
Matt Sturgeon
c4a54da4a5
modules/output: use mkPackageOption for package option 2024-09-04 21:56:48 +01:00
Matt Sturgeon
cdb2e79e51
lib/pkg-lists: move to common location
Extract the helper functions defined in `efmls-configs-pkgs` to a common
location where they can also be used by none-ls's package list.
2024-09-04 20:29:52 +01:00
Matt Sturgeon
d2aad1071f
plugins/none-ls: use defaultText in package options 2024-09-04 20:29:52 +01:00
Matt Sturgeon
a8a7e405f4
plugins/efmls: use mkPackageOption 2024-09-04 20:29:50 +01:00
Matt Sturgeon
2ef974182e
plugins/efmls: minor cleanup 2024-09-04 20:28:37 +01:00
Austin Horstman
35788bbc5a
lib: cleanup with lib 2024-09-03 22:12:33 -05:00
Austin Horstman
c76e5070b9
wrappers: cleanup with lib 2024-09-03 22:12:33 -05:00
Austin Horstman
1c9ba58aef
modules: cleanup with lib 2024-09-03 22:12:33 -05:00
Austin Horstman
ff042dfc93
docs/mdbook: cleanup with lib 2024-09-03 22:12:33 -05:00
Matt Sturgeon
9c11b54065
plugins/lsp/servers: use lib.mkPackageOption 2024-09-04 03:29:35 +01:00