-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
Description
I'm having trouble getting the blacklist feature to work.
The only option I have added to my .vimrc is:
autocmd BufEnter * EnableStripWhitespaceOnSave
As expected, for most files trailing whitespaces are removed on save, without me needing to turn on the feature. However, what is unexpected is that this is also the case for Markdown files, which are supposed to be in the default blacklist.
I have tried editing the blacklist by adding
let g:better_whitespace_filetypes_blacklist=['markdown']
but I still see the same behavior.
After loading a Markdown file, I can turn off the whitespace striping with
ToggleStripWhitespaceOnSave
Am I interpreting the blacklist incorrectly? Or is there an issue with it? My Vim version is 8.0.710.
Thanks for the great plugin!