diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-05-07 12:00:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-07 16:00:26 +0000 |
| commit | b351024daf88d8ea3b934817ba7350fb29bbf37c (patch) | |
| tree | 3f9703168be4d262aac442aabded94e04ffd4fd5 /src/nvim/api/vimscript.c | |
| parent | 3639f7a8672bfbc6844f94c1db98c06cc9649afc (diff) | |
| download | rneovim-b351024daf88d8ea3b934817ba7350fb29bbf37c.tar.gz rneovim-b351024daf88d8ea3b934817ba7350fb29bbf37c.tar.bz2 rneovim-b351024daf88d8ea3b934817ba7350fb29bbf37c.zip | |
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.
Diffstat (limited to 'src/nvim/api/vimscript.c')
| -rw-r--r-- | src/nvim/api/vimscript.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 `"<C-r>="`. -/// - 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 `"<C-r>="`. +/// - "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 |