Commit graph

109 commits

Author SHA1 Message Date
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
Sergio Ribera
4530a35bad plugins/lspkind: undefined variable 2024-05-13 08:40:53 +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
Kareem-Medhat
3a4de0bb2f
plugins/coq-nvim: fix settings not being set when lsp is not enabled (#1408) 2024-04-13 13:36:45 +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
40a4f5ef67 plugins/codeium-vim: fix keymaps 2024-03-22 15:10:18 +01:00
Gaetan Lepage
347620cdde plugins/cmp: add missing renamed-option-module for autoEnableSources 2024-03-17 00:56:55 +01:00
traxys
6484938d4b
plugins/coq: Switch to mkNeovimPlugin (#1256)
* plugins/coq: Switch to mkNeovimPlugin

This allows the user to define additional options unpackaged by nixvim.
No new options were defined, nor any old option was deleted.

Fixes #1114
2024-03-13 17:04:45 +01:00
traxys
4ab65ca95a
plugins/coq-thirdparty: Fix example & improve documentation (#1254) 2024-03-12 23:40:43 +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
dd238fb80b plugins/copilot-vim: switch to settings option 2024-03-06 22:28:53 +01:00
Gaetan Lepage
a61c8fbc3d plugins/nvim-cmp: refactoring (init filetype and cmdline options) 2024-03-06 22:27:43 +01:00
Gaetan Lepage
f2de9a94c4 plugins: set myself (@GaetanLepage) as maintainer for several vim plugins 2024-03-04 11:46:56 +01:00
Gaetan Lepage
a29a6d8f92 plugins/codeium-vim: refactor keymaps implementation 2024-02-19 23:39:35 +01:00
Gaetan Lepage
5fba5be696 plugins/codeium-vim: switch to mkVimPlugin 2024-02-19 23:39:35 +01:00
Gaetan Lepage
cef446a4da helpers/vim-plugin/mkVimPlugin: rename addExtraConfigRenameWarning to deprecateExtraConfig 2024-02-19 11:25:29 +01:00
Gaetan Lepage
d7fe40ebd8 helpers/vim-plugin/mkVimPlugin: rename package option to defaultPackage 2024-02-15 10:13:39 +01:00
James Taranto
e797c36266
plugins/nvim-cmp: fix nvim-cmp lsp completion capabilities (#1071)
fixes a bug where the default client capabilities are overwritten by
nvim-cmp's default capabilities
2024-02-14 09:25:31 +01:00
Gaetan Lepage
6a8d6fd005 helpers/vim-plugin/mkVimPlugin: rename 'description' -> 'originalName' 2024-02-14 09:13:21 +01:00
Gaetan Lepage
3871b56b15 pugins/VIM-PLUGINS: add rename warning for extraConfig option 2024-02-12 13:12:43 +01:00
Gaetan Lepage
7dbf7f978c plugins: do not import helpers.nix directly 2024-02-11 11:50:35 +01:00
Gaetan Lepage
3c174e874c helpers/vim-plugin/mkVimPlugin: refactor 2024-02-10 17:53:41 +01:00
Gaetan Lepage
b30e8a1eda plugins/copilot-vim: remove deprecation warning 2024-02-09 10:42:13 +01:00
Gaetan Lepage
e06aac2bec plugins/cmp: fix typo in setup options 2024-02-03 20:41:24 +01:00
Gaetan Lepage
c10e73fb65 plugins/cmp: refactoring 2024-02-03 17:07:40 +01:00
Gaetan Lepage
e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01:00
Gabriel Arazas
6b0f03e4a1 plugins: clean up module descriptions
Only for the `enable` option though.
2024-01-26 15:43:47 +01:00
Gaetan Lepage
a68ee73947 helpers/vim-plugin: mkPlugin -> mkVimPlugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage
8f90372ee5 helpers: move mkPlugin and mkDefaultOpt to helpers.vim-plugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage
01c21406c6 plugins/cmp-tabby: init 2024-01-22 23:07:28 +01:00
Gaetan Lepage
990a18ba23 plugins/nvim-cmp: reorder sources 2024-01-22 23:07:28 +01:00