Commit graph

329 commits

Author SHA1 Message Date
Austin Horstman
a75c2235d9
plugins/rest: v3 migration 2024-09-23 20:58:02 -05:00
Quentin Boyer
d2f9e011d9 lib/neovim-plugin: Add lua configuration scoped to the plugin
This commit adds a `plugins.<name>.luaConfig` section controlling the
plugin specific configuration.

The section contains the internal `init` option, containing the plugin's
initialization code.

It also contains the public `pre` and `post` options, that allow to add
code before & after the `init` section

Finally, it contains the `final` option, being the concatenation of the
three previous options.
2024-09-22 16:15:27 +00:00
Austin Horstman
875b812559
plugins/rest: remove extra curl package include
We already migrated to use curlPackage below. This was leftover.
2024-09-14 19:23:53 -05: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
Matt Sturgeon
52f125679f
plugins/utils: move to by-name 2024-09-09 11:50:38 +01:00
Matt Sturgeon
475dca6895
plugins/autosource: mkBoolInt -> 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
refaelsh
2de406d972
plugins/hardtime: migrate to mkNeovimPlugin
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2024-09-08 11:55:44 +01:00
Austin Horstman
9a156ae60c
plugins/mini-icons: add mockDevIcons 2024-09-06 09:12:54 -05: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
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
80150abad6
plugins/spectre: cleanup package options 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
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
Austin Horstman
0d73ab939c
plugins/project-nvim: migrate to mkNeovimPlugin 2024-09-03 19:20:31 -05:00
Matt Sturgeon
18b7597e6c
lib/neovim-plugin: drop config arg 2024-09-02 10:35:52 +01:00
Matt Sturgeon
2a054b039e
lib/vim-plugin: drop config arg
Instead, access it via an imported module
2024-09-02 10:33:50 +01:00
Andrew Plaza
9b0e2ba7e5
plugins/scope: init 2024-09-02 02:05:41 -04: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
e122f465a9
plugins/fzf-lua: use iconsPackage 2024-08-29 14:23:43 -05: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
elythh
aa1f5a74ff plugins/comment-box-nvim: init 2024-08-26 20:28:32 +02:00
Austin Horstman
cb413995e1
plugins/todo-comments: migrate keymaps to mkMapOptionSubmodule 2024-08-19 23:18:48 -05:00
Matt Sturgeon
7fb1f9dd9d
modules/keymap: improve lua deprecation
- Replace nullable lua option with a no-default option.
- Made it so the deprecated option is only declared when `lua = true` is passed.
- Replace `normalizeMappings` with a `removeDeprecatedMapAttrs` helper.
- Added warnings for all options that historically had `lua` support.
2024-08-18 22:11:11 +01:00
Austin Horstman
379ae77a76
plugins/todo-comments: migrate to mkNeovimPlugin 2024-08-18 14:25:00 -05:00
Austin Horstman
ebd2182b44
plugins/which-key: updated spec examples and tests
Improve documentation for supported configurations
2024-08-15 15:47:25 -05:00
Austin Horstman
e3ec1c4a46 plugins/which-key: move listOfLen to lib.types
Allows us to require a list to have a certain length for plugins that
request it.
2024-08-14 11:20:17 +00:00
Matt Sturgeon
c46bd820ad
plugins/firenvim: fix aliasing settings into globals
Needed to use `options.*.settings` instead of `config.*.settings`.

I was concerned that the test-case didn't pick up on this, so I added an
new test case with some basic assertions.
2024-08-09 09:28:38 +01:00
Austin Horstman
1adbf11900
plugins/which-key: migrate to mkNeovimPlugin 2024-08-08 16:17:09 -05:00
Gaetan Lepage
593f5215cb plugins/firenvim: init 2024-08-07 23:04:09 +02:00
Enno Richter
4d6d3bd722 plugins/spectre: set freeformType for engine options 2024-08-05 06:06:34 +00:00
Matt Sturgeon
2089eb407d
plugins/which-key: deprecate v2 registrations
These have been replaced in v3 with a new spec.

As we will soon migrate which-key to `settings` options, I've named the
new option `settings.spec` so that we do not need to "rename" it again
soon.

This commit **does not** actually add a freeform settings option.
2024-07-29 11:16:49 +01:00
GGORG
30ab203d56 plugins/guess-indent: init 2024-07-25 13:45:18 +02:00
Gaetan Lepage
3b6d403f39 plugins/better-escape: switch to mkNeovimPlugin + update 2024-07-23 23:21:01 +02:00
hrmny
53e85da240
plugins/intellitab: fix treesitter option usage
intellitab was still using the old deprecated option.
2024-07-11 23:06:35 +01:00
Matt Sturgeon
497ce47593
maintainers: remove MattSturgeon 2024-07-10 09:18:17 +01:00
Matt Sturgeon
a5e9dbdef1
plugins/bufdelete: init 2024-07-09 14:15:38 +01:00
Austin Horstman
97fa47376b
treewide: treesitter moduleConfig -> settings 2024-07-08 09:09:48 -05:00
Gaetan Lepage
451beb4eca plugins/leap: allow __empty for safeLabels option 2024-07-08 09:54:47 +02:00
m1mir
87c7757a5b
plugins/coverage: Added keymap for the loadLcov command. 2024-07-05 13:36:29 +01:00
Matt Sturgeon
100ae4027d
plugins/nvim-osc52: mark as obsolete
Upstream has declared the plugin obsolete because OSC52 support was
added to Neovim 0.10.

See https://neovim.io/doc/user/provider.html#clipboard-osc52
2024-07-01 17:24:08 +01:00
Gaetan Lepage
3bfe71f1ae plugins/yanky: export 'utils' and 'mapping' for more readible settings 2024-07-01 14:22:27 +00:00
Gaetan Lepage
b3c520d13e plugins/yanky: switch to mkNeovimPlugin 2024-07-01 14:22:27 +00:00