From b351024daf88d8ea3b934817ba7350fb29bbf37c Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 7 May 2026 12:00:26 -0400 Subject: build(docs): lint more quasi-keysets #39654 Problem: Linter missed backtick and double-quote keynames in the quasi-keyset of the `nvim_create_user_command` docstring. Solution: Update the linter to check backtick-surrounded and quote-surrounded key names. --- src/nvim/api/vimscript.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/nvim/api/vimscript.c') diff --git a/src/nvim/api/vimscript.c b/src/nvim/api/vimscript.c index c210e429ed..983806a77f 100644 --- a/src/nvim/api/vimscript.c +++ b/src/nvim/api/vimscript.c @@ -357,18 +357,18 @@ typedef kvec_withinit_t(ExprASTConvStackItem, 16) ExprASTConvStack; /// /// @param[in] expr Expression to parse. Always treated as a single line. /// @param[in] flags Flags: -/// - "m" if multiple expressions in a row are allowed (only -/// the first one will be parsed), /// - "E" if EOC tokens are not allowed (determines whether /// they will stop parsing process or be recognized as an /// operator/space, though also yielding an error). /// - "l" when needing to start parsing with lvalues for /// ":let" or ":for". -/// Common flag sets: -/// - "m" to parse like for `":echo"`. -/// - "E" to parse like for `"="`. -/// - empty string for ":call". -/// - "lm" to parse for ":let". +/// - "m" if multiple expressions in a row are allowed (only +/// the first one will be parsed), +/// - Common flag sets: +/// - "E" to parse like for `"="`. +/// - "lm" to parse for ":let". +/// - "m" to parse like for `":echo"`. +/// - empty string for ":call". /// @param[in] hl If true, return value will also include "highlight" /// key containing array of 4-tuples (arrays) (Integer, /// Integer, Integer, String), where first three numbers -- cgit