canola.nvim/lua
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 feat: add toggle() API for regular windows (#88) 2026-03-08 15:33:45 -04:00
resession/extensions refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00