Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 539 Bytes

display_floating_window.md

File metadata and controls

26 lines (18 loc) · 539 Bytes

Display the resutls in a temporary floating window.

The floating window is closed on the CursorMoved event, or from :SnipClose

The highlight groups used are :

  • "SniprunFloatingWinOk"
  • "SniprunFloatingWinErr"

You can configure the displau key as shown to enable temporary floating windows display mode

require'sniprun'.setup({
  display = { "TempFloatingWindow" },
})

OR (enable only for long outputs)

require'sniprun'.setup({
  display = { "LongTempFloatingWindow" },
})