<p></p>
<p>In filetypes.python we have:</p>
<pre><code># single comment char, like # in this file
comment_single=#\s
# multiline comments
comment_open="""
comment_close="""
</code></pre>
<p>But none of these multi-line examples results in a comment or even heredoc, its just a string.</p>
<p>For some reason python syntax highlighting is ignoring comment_open/close and treating block comments as multiline comments:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/817564/115903378-6b0e2380-a45b-11eb-9aad-2d8e4a4b20ce.jpg"><img src="https://user-images.githubusercontent.com/817564/115903378-6b0e2380-a45b-11eb-9aad-2d8e4a4b20ce.jpg" alt="screenshot" style="max-width:100%;"></a></p>
<p>So how do we get docstrings to show up as multiline comments?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2799">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5AT5DGNXJDVRFPW4DTKGP2HANCNFSM43O7F6SQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4MRCUOGQGTHDMQVD3TKGP2HA5CNFSM43O7F6S2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M5CJHGA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2799",
"url": "https://github.com/geany/geany/issues/2799",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>