aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-09-01 18:46:34 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-09-02 22:28:57 +0800
commit1ef7720567b08caec0c077605fb2a01a9d6eafbc (patch)
tree5859afe514570e94c30c42ae5453729e172cf8ac /runtime/doc
parent2afcdbd63a5b0cbeaad9d83b096a3af5201c67a9 (diff)
downloadrneovim-1ef7720567b08caec0c077605fb2a01a9d6eafbc.tar.gz
rneovim-1ef7720567b08caec0c077605fb2a01a9d6eafbc.tar.bz2
rneovim-1ef7720567b08caec0c077605fb2a01a9d6eafbc.zip
fix(api)!: correctly deal with number before :tab
Now nvim_parse_cmd and nvim_create_user_command use a "tab" value which is the same as the number passed before :tab modifier instead of the number plus 1, and "tab" value is -1 if :tab modifier is not used.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 82978d0b3c..a4fe71bc86 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1846,7 +1846,7 @@ nvim_parse_cmd({str}, {opts}) *nvim_parse_cmd()*
• keeppatterns: (boolean) |:keeppatterns|.
• lockmarks: (boolean) |:lockmarks|.
• noswapfile: (boolean) |:noswapfile|.
- • tab: (integer) |:tab|.
+ • tab: (integer) |:tab|. -1 when omitted.
• verbose: (integer) |:verbose|. -1 when omitted.
• vertical: (boolean) |:vertical|.
• split: (string) Split modifier string, is an empty string when