-
-
Couldn't load subscription status.
- Fork 19
Open
Description
I have noticed that the column on the last line is sometimes rendered and sometimes it isn't.
MWE:
local root = vim.fn.fnamemodify("./.repro", ":p")
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)
local plugins = {
spec = {
{
"lukas-reineke/virt-column.nvim",
opts = {
virtcolumn = "+1,+2,+3",
},
},
}
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.opt.textwidth = 10Run nvim -u repro.lua.
- In insert mode, write
return {\n}. This leads to this:
- In empty file again, write
return {\n\n<BS>}in insert mode. This gives me:
Two buffers are identical, but virtual column is different
zoriya, ikalnytskyi, mxmlkzdh, verdiur, IronGeek and 1 more
Metadata
Metadata
Assignees
Labels
No labels