canola.nvim/lua/canola
Barrett Ruth 0f386bb69c
fix: show float title when border is nil (#78)
* fix: show float title when border is nil

Problem: the float title was only shown via the native `nvim_win_set_config`
path, which requires a border to render. The guard `config.float.border ~=
'none'` did not account for `nil`, which is the default — so users with no
explicit `border` config never saw the path title in the floating window.

Solution: require both `~= nil` and `~= 'none'` before using the native
title. In all other cases (border nil, 'none', or nvim < 0.9), fall back to
`util.add_title_to_win`, which renders a child floating window for the title.

Based on: stevearc/oil.nvim#683

* refactor: drop nvim-0.9 version checks in float title logic
2026-03-06 16:29:47 -05:00
..
adapters feat: emit CanolaFileCreated autocmd on file creation (#75) 2026-03-06 15:54:01 -05: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 skip_confirm_for_delete option (#77) 2026-03-06 16:29:12 -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: show float title when border is nil (#78) 2026-03-06 16:29:47 -05: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(view): position cursor at name column on new empty lines (#72) 2026-03-06 14:40:10 -05:00