aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-25 17:21:55 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-25 18:20:47 +0800
commitaba3147cb62339714633b53f9ba114b08c5d6761 (patch)
treef6137de0e2cda3fd7dab3cb998fd0d38b86c202a /src/nvim/normal.c
parentd8df9afad62a9a4beb4ec607f8e10d674de66dbe (diff)
downloadrneovim-aba3147cb62339714633b53f9ba114b08c5d6761.tar.gz
rneovim-aba3147cb62339714633b53f9ba114b08c5d6761.tar.bz2
rneovim-aba3147cb62339714633b53f9ba114b08c5d6761.zip
vim-patch:8.2.4228: no tests for clicking in the GUI tabline
Problem: No tests for clicking in the GUI tabline. Solution: Add test functions to generate the events. Add tests using the functions. (Yegappan Lakshmanan, closes vim/vim#9638) https://github.com/vim/vim/commit/b0ad2d92fd19e673ddbbc66742bae3f71778efde
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index a842bb20a9..64bc868cb5 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -3485,7 +3485,8 @@ void scroll_redraw(int up, long count)
redraw_later(curwin, VALID);
}
-/// Get the count specified after a 'z' command.
+/// Get the count specified after a 'z' command. Only the 'z<CR>', 'zl', 'zh',
+/// 'z<Left>', and 'z<Right>' commands accept a count after 'z'.
/// @return true to process the 'z' command and false to skip it.
static bool nv_z_get_count(cmdarg_T *cap, int *nchar_arg)
{