bug(main): float title overlaps directory listing #69

Closed
opened 2026-09-21 18:55:03 +00:00 by barrettruth · 1 comment
Owner

Original issue: barrettruth/canola.nvim#336
Original author: micampe
Original date: 2026-04-30T19:01:15Z

Prerequisites

  • I have searched existing issues
  • I have updated to the latest main branch
  • This report targets the main branch, the backwards-compatible oil track
  • I ran the repro below with branch = 'main' left intact

Neovim version

NVIM v0.12.2
Build type: Release
LuaJIT 2.1.1774896198

Operating system

macOS 15

Description

The float title overlaps the file listing when 'winborder' is set to anything other than the empty string "".

Image

Steps to reproduce

I reproduced with a clean install and this init.lua, launch nvim and run :Oil --float.

This happens both with the main and canola branches. It does not happen in the original Oil.

vim.pack.add({"https://github.com/barrettruth/canola.nvim"})
vim.o.winborder = 'rounded'
require('oil').setup()

Minimal reproduction

vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()
require('lazy').setup({
  spec = {
    {
      'barrettruth/canola.nvim',
      branch = 'main',
      config = function()
        require('oil').setup({})
      end,
    },
  },
})

vim.o.winborder='rounded'
> Original issue: barrettruth/canola.nvim#336 > Original author: `micampe` > Original date: 2026-04-30T19:01:15Z ### Prerequisites - [x] I have searched [existing issues](https://github.com/barrettruth/canola.nvim/issues) - [x] I have updated to the latest `main` branch - [x] This report targets the `main` branch, the backwards-compatible oil track - [x] I ran the repro below with `branch = 'main'` left intact ### Neovim version ```text NVIM v0.12.2 Build type: Release LuaJIT 2.1.1774896198 ``` ### Operating system macOS 15 ### Description The float title overlaps the file listing when `'winborder'` is set to anything other than the empty string `""`. <img width="664" height="515" alt="Image" src="https://forge.barrettruth.com/attachments/d3b6441b-8981-4ea1-a48d-577e22020402" /> ### Steps to reproduce I reproduced with a clean install and this `init.lua`, launch nvim and run `:Oil --float`. This happens both with the `main` and `canola` branches. It does not happen in the original Oil. ```lua vim.pack.add({"https://github.com/barrettruth/canola.nvim"}) vim.o.winborder = 'rounded' require('oil').setup() ``` ### Minimal reproduction ```lua vim.env.LAZY_STDPATH = '.repro' load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))() require('lazy').setup({ spec = { { 'barrettruth/canola.nvim', branch = 'main', config = function() require('oil').setup({}) end, }, }, }) vim.o.winborder='rounded' ```
barrettruth 2026-09-21 18:55:03 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

Original comment: barrettruth/canola.nvim#336, comment 4356122431
Original author: barrettruth
Original date: 2026-04-30T21:00:29Z

Apologies for this. Fixed in both canola and main branches.

> Original comment: barrettruth/canola.nvim#336, comment 4356122431 > Original author: `barrettruth` > Original date: 2026-04-30T21:00:29Z Apologies for this. Fixed in both canola and main branches.
Sign in to join this conversation.
No description provided.