E 'possibile modificare python.vim (e il file colorscheme corrispondente) in modo che le stringhe con quotatura tripla proprio sotto le istruzioni class e def (aka docstrings) vengano evidenziate come commenti durante la sintassi python evidenziando sotto vim?Evidenzia le didascalie python come commenti (evidenziazione della sintassi di vim)
class URLopener:
"""Class to open URLs.
This is a class rather than just a subroutine because we may need
more than one set of global protocol-specific options.
Note -- this is a base class for those who don't want the
automatic handling of errors type 302 (relocated) and 401
(authorization needed)."""
def addheader(self, *args):
"""Add a header to be used by the HTTP interface only
e.g. u.addheader('Accept', 'sound/basic')"""
# sample comment
L'ultima pitone. vim versione 3.3.6 tratta questo problema di colorizzazione delle docstring in modo corretto. http://www.vim.org/scripts/script.php?script_id=790 –