edgy.nvim icon indicating copy to clipboard operation
edgy.nvim copied to clipboard

fix(get_win): typing of the `get_win()` fn `win` param

Open Masstronaut opened this issue 6 months ago • 0 comments

Description

vim.api.nvim_get_current_win() and vim.api.nvim_list_wins() return integer and integer[], respectively. Integer seems to be the correct typing annotation here. Similarly, edgebar.wins.win is a window ID integer, so the final conditional of this function is comparing the win param to an integer.

Related Issue(s)

n/a

Screenshots

image

Masstronaut avatar Aug 09 '24 03:08 Masstronaut