Module ime.nvim.win

Wrap vim.api.nvim_open_win().

NOTE: ui:draw()'s output is win:update()'s input

Functions

M.Win:new (win)
M.Win:is_valid () If the windows is valid
M.Win:has_preedit () If the windows has preedit
M.Win:_update () Open or close a window
M.Win:update (lines, col) Wrap self._update()


Functions

M.Win:new (win)

Parameters:

  • win table?

Returns:

    table Win
M.Win:is_valid ()
If the windows is valid

Returns:

    boolean is_valid
M.Win:has_preedit ()
If the windows has preedit

Returns:

    boolean has_preedit
M.Win:_update ()
Open or close a window
M.Win:update (lines, col)
Wrap self._update()

Parameters:

  • lines string[]?
  • col integer?
generated by LDoc 1.5.0 Last updated 2025-12-25 12:32:44