If you look at syntax/doxygen.vim , you can read in the preamble of the file, which is currently only
cpp, c, idl, doxygen and php
Supported files
.
Since doxygen.vim works a lot with the syn region command, I was looking for a string that defines a multi-line string in syntax/python.vim .
An interesting part of the team defining this area is
syn region pythonString start=+[uU]\=\z('''\|"""\)+ end="\z1" keepend
Derived from what is in doxygen.vim and above, you can add the following lines
"delete the following line if you don't want to have enhanced colors let g:doxygen_enhanced_color=1 runtime! syntax/doxygen.vim syn region doxygenComment matchgroup=pythonString start=+[uU]\=\z('''\|"""\)+ end="\z1" contains=doxygenSyncStart,doxygenStart,doxygenTODO keepend fold containedin=pythonString
before ~/.vim/after/syntax/python.vim or execute them manually.
In addition, you may need to manually adjust the colors of the added oxygen groups. At least I would do it, as the result obtained does not correspond to my taste.
Perhaps the fold argument to syn is of particular interest to you. If you set the foldmethod to syntax , you can add and expand multi-line comments. This seems useful if you can no longer look at these colors and don't be lazy to customize them :)
without oxygen evolution:

backlit doxygen and g:doxygen_enhanced_color == 1 :
