fix(tabs): correctly display oil.nvim buffers in tabline#1486
fix(tabs): correctly display oil.nvim buffers in tabline#1486tea06194 wants to merge 1 commit intonvim-lualine:masterfrom
Conversation
|
Hello ! I believe you have missed the oil extension? |
|
In case you were not satisfied with the oil extension, I made a PR about it too: #1488 |
Thanks for the suggestion! This change simply extends the existing special-case handling in |
Fixes #1267
oil.nvim uses oil:// URIs as buffer names. fnamemodify() does not handle URI
schemes correctly and returns an empty string, causing tabs to show [No Name].
This patch detects oil buffers explicitly and strips the oil:// prefix before
formatting the path, keeping existing tabline behavior intact.