From 4ab65ca95a2e06549412618bd72bd3df38afb9f6 Mon Sep 17 00:00:00 2001 From: traxys Date: Tue, 12 Mar 2024 23:40:43 +0100 Subject: [PATCH] plugins/coq-thirdparty: Fix example & improve documentation (#1254) --- plugins/completion/coq-thirdparty.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/plugins/completion/coq-thirdparty.nix b/plugins/completion/coq-thirdparty.nix index 394577e9..6835626e 100644 --- a/plugins/completion/coq-thirdparty.nix +++ b/plugins/completion/coq-thirdparty.nix @@ -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 = ""; + short_name = "COP"; + accept_key = ""; } {src = "demo";} ];