Skip to content

Commit

Permalink
plugins/coq-thirdparty: Fix example & improve documentation (nix-comm…
Browse files Browse the repository at this point in the history
  • Loading branch information
traxys authored Mar 12, 2024
1 parent 01d7adb commit 4ab65ca
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions plugins/completion/coq-thirdparty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ in {
};
};
});
description = "List of sources";
description = ''
List of sources.
Each source is a free-form type, so additional settings like `accept_key` may be specified even if they are not declared by nixvim.
'';
default = [];
example = [
{
src = "nvimlua";
shortName = "nLUA";
short_name = "nLUA";
}
{
src = "vimtex";
shortName = "vTEX";
short_name = "vTEX";
}
{
src = "copilot";
shortName = "COP";
acceptKey = "<c-f>";
short_name = "COP";
accept_key = "<c-f>";
}
{src = "demo";}
];
Expand Down

0 comments on commit 4ab65ca

Please sign in to comment.