aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-29 15:23:51 +0200
committerGitHub <noreply@github.com>2022-05-29 15:23:51 +0200
commitebad151a2a1943ca0d4e07485c416e0762f7f096 (patch)
treedb29ae0e06df1882588430f813cd60b30c6b3018 /runtime
parentd4bb15af526abd9c18d791f147aa6200c5ba0b03 (diff)
parent9988d2f214963b3cac70026d6ad4bb058837afd9 (diff)
downloadrneovim-ebad151a2a1943ca0d4e07485c416e0762f7f096.tar.gz
rneovim-ebad151a2a1943ca0d4e07485c416e0762f7f096.tar.bz2
rneovim-ebad151a2a1943ca0d4e07485c416e0762f7f096.zip
Merge pull request #18792 from famiu/feat/nvim_create_user_command/smods
feat(api): pass structured modifiers to commands
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 3ab7c77056..965b8e6492 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -743,6 +743,9 @@ nvim_create_user_command({name}, {command}, {*opts})
specified |<reg>|
• mods: (string) Command modifiers, if any
|<mods>|
+ • smods: (table) Command modifiers in a
+ structured format. Has the same structure as
+ the "mods" key of |nvim_parse_cmd()|.
{opts} Optional command attributes. See
|command-attributes| for more details. To use
boolean attributes (such as |:command-bang| or