vim-python/python-syntax

Reserved words getting highlighted out of context

rnmp opened this issue · 2 comments

rnmp commented

image

From the screenshot, notice how from, as, and is get highlighted when they're used as arguments or variable names, this shouldn't be the case?

Is this a legit bug or am I missing a configuration.

nfnty commented

I can't reproduce this issue. Can you post a sample snippet that I can test?

rnmp commented

Not using this library anymore but I'm glad it was potentially just me. :P

I'm now just keeping my syntax highlighting simpler (e.g. just using vim's default python highlight)