Skip to content

Blacklist doesn't work? #68

@a-torgovitsky

Description

@a-torgovitsky

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions