Default listchars is tab:> ,trail:-,nbsp:+. When list is turned on, tabs are displayed as > when they should be treated similarly to space in expected behavior below.
Steps to reproduce
local lazypath = "/tmp/lazy/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",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
vim.opt.termguicolors = true
-------------------
vim.opt.list = true
-------------------
require("lazy").setup({
{
"lukas-reineke/indent-blankline.nvim",
config = function()
require("ibl").setup({})
end,
},
-- uncomment this if the problem is related to scope
-- {
-- "nvim-treesitter/nvim-treesitter",
-- build = ":TSUpdate",
-- config = function()
-- require("nvim-treesitter.configs").setup {
-- ensure_installed = { "rust" }, -- change this to the language you use
-- }
-- end,
-- },
}, { root = "/tmp/lazy" })
Problem
Default
listchars
istab:> ,trail:-,nbsp:+
. Whenlist
is turned on, tabs are displayed as>
when they should be treated similarly tospace
in expected behavior below.Steps to reproduce
Expected behavior
Neovim version (nvim -v)
NVIM v0.10.0-dev-1261+g09a17f91d0