Matt Sturgeon
17f4aa5556
plugins/cmp: refactor sources list & mkCmpSourcePlugin
...
List mkCmpSourcePlugin args directly in `sources/default.nix`,
similar to LSP's language-servers list.
2024-06-30 18:22:59 +01:00
Matt Sturgeon
3a8d4fee35
plugins/cmp: refactor source->plugin association
...
Introduce the internal option `cmpSourcePlugins` where plugins can
register their nvim-cmp source name association.
2024-06-30 18:22:59 +01:00
Matt Sturgeon
7c35bdb3f7
lib/neovim-plugin: allow overriding settings description
...
- The `setup` function name can be overridden with `setup`
(default ".setup")
- The entire `settings` option description can be overridden with
`settingsDescription`
- `luaName` and `setup` are used in the default description
2024-06-28 22:58:31 +01:00
Matt Sturgeon
d61ecb3f73
plugins/completion: normalize plugin defaults
2024-06-21 08:47:40 +01:00
Gaetan Lepage
9ed3538685
plugins/cmp-tabby: switch to RFC-42 style
2024-06-18 20:19:14 +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
Gaetan Lepage
3834c4e0db
plugins/cmp: add cmp_ai source
2024-06-14 16:25:00 +02:00
Gaetan Lepage
7c4fe30f81
lib/options: introduce new mkPackageOption for dependencies
2024-05-17 22:15:47 +02:00
Gaetan Lepage
26367692da
lib/options: rename mkPackageOption to mkPluginPackageOption
2024-05-17 22:15:47 +02:00
traxys
62f32bfc71
treewide: Reformat with nixfmt
2024-05-05 22:00:40 +02:00
Gaetan Lepage
c05fba47c7
plugins/cmp-git: add settings option
2024-05-03 12:06:01 +02:00
Gaetan Lepage
dc038244f8
plugins/cmp: refactor source-plugin internal mechanics
2024-04-30 13:32:00 +02:00
Gaetan Lepage
35c0f71457
plugins/cmp-fish: add fishPackage option
2024-04-30 00:02:51 +02:00
Loïc Reynier
233feeb8d2
treewide: fix typos ( #1217 )
2024-03-07 19:44:13 +01:00
Gaetan Lepage
a61c8fbc3d
plugins/nvim-cmp: refactoring (init filetype and cmdline options)
2024-03-06 22:27:43 +01:00