bug(indent): Not all listchars are displayed in case indent is enabled #291
Description
Did you check docs and existing issues?
- I have read all the snacks.nvim docs
- I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues of snacks.nvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.10.2
Operating system/version
Ubuntu 20.04
Describe the bug
Not all listchars are displayed in case indent is enabled.
Steps To Reproduce
- Set listchars.
local opt = vim.opt
opt.list = true
opt.listchars = {
tab = ">-",
trail = ".",
nbsp = "¬",
eol = "↲",
space = ".",
extends = ">",
precedes = "<",
}
- Open file in neovim.
- Disable indent
leader<ug>
.
Expected Behavior
Listchars are displayed correct in case indent is enabled.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "folke/snacks.nvim", opts = {} },
-- add any other plugins here
},
})