canola.nvim/lua/canola
Barrett Ruth 39374ee99b
fix(select): redraw screen after buffer switch (#106)
* fix(select): redraw screen after buffer switch

Problem: `select` opens files inside a `vim.schedule_wrap` callback
from `normalize_url`. Scheduled `FileType` autocmds (e.g. treesitter
parsing) queue onto the same batch, blocking the screen update. The
oil buffer stays visible until the heavy work finishes.

Solution: call `vim.cmd.redraw()` after the buffer switch to flush
the screen before any queued scheduled callbacks run. Matches the
behavior of plain `:e`.

* docs(upstream): mark #699 fixed (#106)
2026-03-09 17:40:19 -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 fix(select): redraw screen after buffer switch (#106) 2026-03-09 17:40:19 -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 fix(view): constrain cursor in insert mode (#93) 2026-03-08 16:02:09 -04:00