lukas-reineke / indent-blankline.nvim

Indent guides for Neovim
MIT License
4.07k stars 102 forks source link

Highlight leading whitespace with dots as in screenshots #819

Closed mohelm closed 8 months ago

mohelm commented 8 months ago

Hi Lukas - many thanks for the great plugin.

I have a quick question: In my config I do not manage to get leading whitespace highlighted with dots as in the screens shots.

Is this at all managed by the plugin? How can I enable this?

Thanks!

Danielkonge commented 8 months ago

Look into :h 'list' and :h 'listchars'. E.g. something like

vim.opt.list = true
vim.opt.listchars = { lead = '.', tab = '|.' }

will give you something like what you are asking for. (But you probably want a centered dot instead of period and a better tab symbol.)