Files
neovim/runtime/lua
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-03-16 10:29:58 +01:00
2025-02-09 18:10:54 +01:00
2026-05-14 13:13:30 -04:00