Closed luisiacc closed 3 years ago
space_char
was removed in favour of vim's listchars
space value.
If you don't want to show a special character for all spaces globally, Neovim has a special listchars
lead option, that will only be used for leading whitespace.
You can add that character in your init.lua like so:
vim.opt.listchars:append({lead="."})
(I don't know if this works with Neovim 0.5.x, but you are already on 0.6.x where it definitely does work)
In general, since #190, all characters are sourced through the listchars
values, so also eol
and the tab
values will be taken from there and shown when appropriate.
space_char
was removed in favour of vim'slistchars
space value. If you don't want to show a special character for all spaces globally, Neovim has a speciallistchars
lead option, that will only be used for leading whitespace. You can add that character in your init.lua like so:vim.opt.listchars:append({lead="."})
(I don't know if this works with Neovim 0.5.x, but you are already on 0.6.x where it definitely does work)
In general, since #190, all characters are sourced through the
listchars
values, so alsoeol
and thetab
values will be taken from there and shown when appropriate.
Thanks!
This is my config:
Neovim version:
Code example:
As you can see, space char is not showing.