vim-python / python-syntax

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

Adding custom syntax for functions #76

Closed paniash closed 3 years ago

paniash commented 3 years ago

Hi!

I wish to use the default syntax file provided by vim instead of installing python-syntax plugin. However, what I really miss about the plugin is that it highlights function calls with a greenish color, which the default syntax does not. How can I implement this feature in the default syntax file (or if possible in my .vimrc).

Thanks!

Screenshot: (For reference)

Left: Plugin syntax , Right: Default syntax pic-selected-201126-1842-41

nfnty commented 3 years ago

See pythonFunctionCall for inspiration: L67-L69.

paniash commented 3 years ago

@nfnty Thank you very much!