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