Closed tripplet closed 4 years ago
Good suggestion facelessuser, just implemented it
+1 would love to be able to turn this off for Markdown files.
:+1:. Is this possible now?
Maybe a setting to disable highlighting on all views that have no file name? That's because adding the syntax of all possible plugins would be a bit cumbersome. Scratch views created by plugins are typically without file name (view.file_name() is empty).
Of course that could be a annoyance in some situations (maybe one is creating a new file and want spaces highlighted 'before' file is saved), but at least as an options it's worth a try.
Closed by #47. Please open a new issue or PR for the more general solutions discussed.
Disable whitespace highlighting if the view is part of the HexViewer plugin, because in hex editor view removing trailing whitespace makes no sense.
https://github.com/facelessuser/HexViewer