vim-python / python-syntax

Python syntax highlighting for Vim
MIT License
438 stars 84 forks source link

Reserved words getting highlighted out of context #62

Closed rnmp closed 4 years ago

rnmp commented 4 years ago

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 4 years ago

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

rnmp commented 4 years ago

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)