aserebryakov / filestyle

filestyle is a Vim plugin that highlights unwanted whitespace and characters.
http://www.vim.org/scripts/script.php?script_id=5065
Apache License 2.0
30 stars 5 forks source link

FileStyleDeactivate doesn't clear the highlighting if the same buffer opened in several windows #11

Closed aserebryakov closed 9 years ago

aserebryakov commented 9 years ago

Scenario:

  1. Open a buffer that contains text, that doesn't fit the settings
  2. Execute :split command
  3. Execute :FileStyleDeactivate command

    Expected:

No highlighted text in both windows.

Actual

Text is not highlighted in one window and stays highlighted in the other.