Files
neovim/test/functional/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
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2026-05-10 11:03:15 -04:00
2024-04-23 18:17:04 +02:00
2026-03-29 13:36:56 +02:00