mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.1520: Vim9: CTRL-] used in :def function does not work (#28880)
Problem: Vim9: CTRL-] used in :def function does not work.
Solution: Omit count or prepend colon. (closes vim/vim#6769)
b3ea36c5bc
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
666911be91
commit
b7782daace
@ -3451,8 +3451,10 @@ static void nv_ident(cmdarg_T *cap)
|
||||
} else {
|
||||
if (g_cmd) {
|
||||
STRCPY(buf, "tj ");
|
||||
} else if (cap->count0 == 0) {
|
||||
STRCPY(buf, "ta ");
|
||||
} else {
|
||||
snprintf(buf, buf_size, "%" PRId64 "ta ", (int64_t)cap->count0);
|
||||
snprintf(buf, buf_size, ":%" PRId64 "ta ", (int64_t)cap->count0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user