python-syntax icon indicating copy to clipboard operation
python-syntax copied to clipboard

Highlighting Breaks on PyTest

Open bgenchel opened this issue 6 years ago • 1 comments
trafficstars

I'm using VIM 8.1.1722, MacVim, on MacOSX Mohave 10.14.6. I installed this plugin with vim-plug, most recent version at the time of writing.

I have a pytest decorator that looks like this:

@pytest.mark.parametrize("sent, count", [("()",0),
                          ("«»",0),
                          ('text test "testing test.', 1)])

and when highlighted in vim using python-syntax, it looks like this:

Screen Shot 2019-10-28 at 5 25 17 PM

Everything that comes after this is also badly colored, basically with inverted string highlighting: everything that is a string is highlighted like code and vice versa.

bgenchel avatar Oct 28 '19 21:10 bgenchel

Weird, can't reproduce this issue.

nfnty avatar Feb 25 '20 11:02 nfnty