canola.nvim/lua/canola
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
..
adapters fix(columns): hide misleading directory sizes (#87) 2026-03-08 15:31:43 -04:00
lsp refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
mutator feat: add skip_confirm_for_delete option (#77) 2026-03-06 16:29:12 -05:00
actions.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
cache.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
clipboard.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
columns.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
config.lua feat: add max_file_size preview limit and show_hidden_when_empty (#85) 2026-03-07 16:52:57 -05:00
constants.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
fs.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
git.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
init.lua feat: add toggle() API for regular windows (#88) 2026-03-08 15:33:45 -04:00
keymap_util.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
layout.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
loading.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
log.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
pathutil.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
ringbuf.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
shell.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
util.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
view.lua feat: add max_file_size preview limit and show_hidden_when_empty (#85) 2026-03-07 16:52:57 -05:00