Files
neovim/runtime/lua/vim
Yi Ming 2bd13177b8 feat(pos): create a cursor position by using the current of a window
Problem:
`vim.pos.cursor(vim.api.nvim_get_current_buf(win), vim.api.nvim_win_get_cursor(win))`
is too verbose to create a cursor position of a window,
but it is a common use case.

Solution:
Overload `vim.pos.cursor()`, so that it accepts `win` as an argument when `pos` is omitted.
2026-06-08 19:52:51 +08:00
..
2026-05-30 12:57:24 +02:00
2026-05-10 11:03:15 -04:00
2026-05-30 12:57:24 +02:00
2026-01-09 10:07:15 +01:00
2026-05-30 12:57:24 +02:00
2026-05-11 16:51:58 +08:00
2026-05-10 11:03:15 -04:00
2026-05-30 12:57:24 +02:00