```lua -- Neovimのみ vim.api.nvim_win_get_cursor(0)[1] -- VimでもOK vim.fn.line(".") ```