Commit graph

28 commits

Author SHA1 Message Date
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
Austin Horstman
433673a7b8
plugins/cmp: add description to elevate autoEnableSource info 2024-09-01 15:18:44 -05:00
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
bd422db9ba
plugins/cmp: fix secondary settings descriptions 2024-06-30 18:22:58 +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
7a2d065cce misc: ensure all options have a description 2024-06-11 11:34:10 +02:00
Sizhe Zhao
dedb1f8593 plugins/nvim-cmp: don't specify default twice 2024-06-08 12:29:25 +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
Felix Boehme
2483dff03d plugins/cmp-async-path: init 2024-04-30 18:36:11 +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
Daniel
ffa3020522 plugins/cmp_yanky: init 2024-04-10 11:38:08 +02:00
Gaetan Lepage
9c2c0d20df plugins/cmp: fix examples for snippet.expand 2024-03-22 16:06:16 +01:00
Gaetan Lepage
347620cdde plugins/cmp: add missing renamed-option-module for autoEnableSources 2024-03-17 00:56:55 +01:00
Gaetan Lepage
07c34e8cfa plugins/cmp: fix example for cmdline option 2024-03-08 23:24:38 +01:00
Loïc Reynier
233feeb8d2
treewide: fix typos (#1217) 2024-03-07 19:44:13 +01:00
mrtnvgr
61858556ec fix(plugins/cmp): allow negative values in window.completion.col_offset 2024-03-07 14:39:33 +01:00
Gaetan Lepage
c59f002ef7 plugins/cmp: add rename warning for plugins.nvim-cmp.enable 2024-03-06 23:12:24 +01:00
Gaetan Lepage
a61c8fbc3d plugins/nvim-cmp: refactoring (init filetype and cmdline options) 2024-03-06 22:27:43 +01:00