TaDaa / vimade

An eye friendly plugin that fades your inactive buffers and preserves your syntax highlighting!
MIT License
486 stars 8 forks source link

Fixes invalid escape sequence when using python 3.9 #74

Closed tammersaleh closed 7 months ago

tammersaleh commented 7 months ago

See https://bugs.python.org/issue27364

Fixes this error when using python 3.9:

Error detected while processing VimEnter Autocommands for "*"..script .../vimade/autoload/vimade.vim[649]..function vimade#Init[20]..vimade#CheckWindows:
line    7:
.../vimade/lib/vimade/signs.py:12: SyntaxWarning: invalid escape sequence '\s'

Error detected while processing VimEnter Autocommands for "*"..script ...d/vimade/autoload/vimade.vim[649]..function vimade#Init[20]..vimade#CheckWindows:
  parts = re.split('[\s\t]+', line)
TaDaa commented 7 months ago

Thanks for the fix @tammersaleh!