Here's what it looks like:

As soon as you click into the buffer then it disappears but how can you prevent showing it to begin with?
Here's the steps I tried:
- I ran
set ft and confirmed the filetype of this buffer is snacks_dashboard
Then I tried let g:better_whitespace_filetypes_blacklist=["snacks_dashboard"] which had no effect, the same result happened.
Then I tried:
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
pattern = { "snacks_dashboard" },
callback = function()
vim.cmd([[DisableWhitespace]])
end,
})
This also had no effect, the same result happened.