Closed HaleTom closed 8 months ago
Ideally, it would be great to have a way to disable / blacklist for various filetypes that commonly have trailing whitespace.
Buftype blacklist would also be great :)
Thanks for the issue!
At first glance it seems like some misconfiguration issue, but I'll look into it.
Ideally, it would be great to have a way to disable / blacklist for various filetypes that commonly have trailing whitespace.
Buftype blacklist would also be great :)
Precisely because of such various use cases there won't be dedicated blocklists for filetype-buftype-etc. See disabling section in help file.
Here 'mini.trailspace' works as expected.
The 'dashboard-nvim' uses normal buffer to display its content (see here).
You can disable for 'dashboard'
filetype like this (autocommand should be done before dashboard creates its buffer):
vim.cmd('au FileType dashboard lua vim.b.minitrailspace_disable = true')
require('dashboard').setup()
Contributing guidelines
Module(s)
trailspace
Description
On starting LazyVim, it looks horrible:
Config:
Neovim version
NVIM v0.9.4
Steps to reproduce
Expected behavior
No red on screen.
Actual behavior
See top screenshot.