Commit Graph
2067 Commits
Author SHA1 Message Date
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
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
Matt Sturgeon 0b86bf519b plugins/cmp/sources: use lib.mkPackageOption 2024-09-04 03:29:35 +01:00
Matt Sturgeon dfb754cdc4 plugins/telescope/extensions: use lib.mkPackageOption 2024-09-04 03:29:35 +01:00
Matt Sturgeon 1fd4b6c739 plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00
Matt Sturgeon 285f6cbd7b lib/*-plugin: use lib.mkPackageOption internally
Instead of maintainers providing an actual `defaultPackage`, they should
specify the pkg name which we'll use when calling `lib.mkPackageOption`.

This makes `mkVimPlugin` and `mkNeovimPlugin` compliant with #1950.
2024-09-04 03:07:49 +01:00
Austin Horstman c8bb7880bf plugins/barbecue: migrate to mkNeovimPlugin 2024-09-03 20:58:23 -05:00
Austin Horstman 279258294b plugins/navic: migrate to mkNeovimPlugin 2024-09-03 20:48:08 -05:00
Austin Horstman 0d73ab939c plugins/project-nvim: migrate to mkNeovimPlugin 2024-09-03 19:20:31 -05:00
Austin Horstman d928d6deb1 colorschemes/dracula-nvim: fixes 2024-09-03 19:08:04 -05:00
refaelsh 3f9cf9f961 Remove config 2024-09-03 22:25:54 +03:00
refaelsh f3a811cf25 plugins/dracula.nvim: init 2024-09-03 21:56:46 +03:00
Matt Sturgeon 18b7597e6c lib/neovim-plugin: drop config arg 2024-09-02 10:35:52 +01:00