2

I am using neovim on Linux.

NVIM v0.11.3
Build type: Release
LuaJIT 2.1.1741730670

In my options.lua I have vim.opt.list = false and vim.opt.listchars = { tab = '»'}

I have a keymap set to toggle list chars.

However, when I start neovim it always shows the hidden chars.

I want to not list the chars on startup. It will not honour the vim.opt.list = false option.

1 Answer 1

0

listchars expects a string

try this:

vim.opt.listchars = "tab:»"

Checkout help for more config options: :h listchars

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.