You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to mark starting and ending strings with """ or ''' as comment
currently as a workaround I added the following to the .vim/after/syntax/python.vim file
syn region Comment start=/"""/ end=/"""/
syn region Comment start=/'''/ end=/'''/
Currently the only way to do it is by renaming pythonString, pythonBytes, pythonUniString, pythonUniRawString and pythonRawString groups with the corresponding delimiters and then link new names to the Comment group.
Activity
hdima commentedon Aug 31, 2013
Currently the only way to do it is by renaming
pythonString,pythonBytes,pythonUniString,pythonUniRawStringandpythonRawStringgroups with the corresponding delimiters and then link new names to theCommentgroup.jakar commentedon Oct 7, 2016
This can be done more easily with PR #55. Link
pythonStringMultiline,pythonRawStringMultiline, and so on to theCommentgroup.Alternatively, you could highlight/link those differently than both strings and comments. I do that to make docstrings stand out.
Impplement operator highlighting