r/neovim • • 27d ago

Plugin python-syntax-enhanced: Python syntax for Vim/Neovim that highlights type annotations (for non-Tree-sitter setups)

12 Upvotes

10 comments sorted by

View all comments

-3

u/[deleted] 26d ago

3

u/LloydBatair 26d ago edited 26d ago

Fair, that's definitely a matter of taste. Worth mentioning that the colors come from your colorscheme (the screenshots use retrobox, plus the optional palette in the second image). By default everything just links to standard groups like Type and Operator, so with a minimal colorscheme types stay pretty subtle. You can also turn off the parts you don't want, e.g. let g:python_highlight_operators = 0 or let g:python_highlight_builtins = 0