mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
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
This commit is contained in:
parent
c351c175ec
commit
7c35bdb3f7
2 changed files with 9 additions and 19 deletions
|
@ -15,8 +15,8 @@ let
|
|||
'';
|
||||
in
|
||||
{
|
||||
options.plugins.cmp-git.settings = helpers.neovim-plugin.mkSettingsOption {
|
||||
pluginName = "cmp_git";
|
||||
options.plugins.cmp-git.settings = helpers.mkSettingsOption {
|
||||
description = "Options provided to the `require('cmp_git').setup` function.";
|
||||
options = {
|
||||
filetypes = helpers.defaultNullOpts.mkListOf types.str [
|
||||
"gitcommit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue