mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +02:00
plugins/cmp: fix secondary settings descriptions
This commit is contained in:
parent
78275321f8
commit
bd422db9ba
1 changed files with 2 additions and 2 deletions
|
@ -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()";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue