plugins/cmp: fix secondary settings descriptions

This commit is contained in:
Matt Sturgeon 2024-06-29 08:27:54 +01:00
parent 78275321f8
commit bd422db9ba
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -37,7 +37,7 @@ rec {
filetype = mkOption {
type = attrsOfOptions;
default = { };
description = "Options for `cmp.filetype()`.";
description = "Options provided to the `require('cmp').setup.filetype` function.";
example = {
python = {
sources = [ { name = "nvim_lsp"; } ];
@ -48,7 +48,7 @@ rec {
cmdline = mkOption {
type = attrsOfOptions;
default = { };
description = "Options for `cmp.cmdline()`.";
description = "Options provided to the `require('cmp').setup.cmdline` function.";
example = {
"/" = {
mapping.__raw = "cmp.mapping.preset.cmdline()";