~dricottone/vim-python

Highlighting for Python syntax
Merging part of Jul 29, 2022 upstream commit
Merging part of Dec 16, 2021 upstream commit

refs

dev
browse  log 

clone

read-only
https://git.dominic-ricottone.com/~dricottone/vim-python
read/write
git@git.dominic-ricottone.com:~dricottone/vim-python

You can also use your local clone with git send-email.

#vim-python

A fork of the official Vim syntax file for Python syntax.

This syntax file began with Neil Schemenauer's work in 2002. Zvezdan Petkovic rewrote the file in 2009. The full git history can be seen in the official vim repo.

I've rewritten the file with two goals in mind:

  • kill all doctest related highlighting, since that makes the pattern matching much more complicated and unreliable
  • re-bind or re-match triple-quoted strings such that they are rendered as comments

I've been working on this since 2017 but I recently decided to rebuild the git history. An added side-benefit is that all syntax changes in Python since 2017 will now be included.