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

Closed
opened 2026-04-30 19:01:15 +00:00 by micampe · 1 comment
micampe commented 2026-04-30 19:01:15 +00:00

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'
### 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://github.com/user-attachments/assets/34381fbf-a7ce-4e10-857a-35c907d6fe4d" /> ### 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 commented 2026-04-30 21:00:29 +00:00

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

Apologies for this. Fixed in both canola and main branches.
Sign in to join this conversation.
No description provided.