canola.nvim/doc
Barrett Ruth 94db584f81
feat: add toggle() API for regular windows (#88)
* feat: add `toggle()` API for regular windows

Problem: `toggle_float()` and `toggle_split()` exist but there is no
`toggle()` for regular windows, forcing users to write their own
filetype-checking wrapper.

Solution: add `M.toggle()` that delegates to `close()` or `open()`
based on whether the current buffer is a canola buffer. Includes
vimdoc entry.

* docs(upstream): mark #621 fixed
2026-03-08 15:33:45 -04:00
..
canola.txt feat: add toggle() API for regular windows (#88) 2026-03-08 15:33:45 -04:00
upstream.md feat: add toggle() API for regular windows (#88) 2026-03-08 15:33:45 -04:00