[Github-comments] [geany/geany] Multiline comments don't work for Python (#2799)

Simon John notifications at xxxxx
Fri Apr 23 16:45:23 UTC 2021


In filetypes.python we have:

```
# single comment char, like # in this file
comment_single=#\s
# multiline comments
comment_open="""
comment_close="""
```

But none of these multi-line examples results in a comment or even heredoc, its just a string.

For some reason python syntax highlighting is ignoring comment_open/close and treating block comments as multiline comments:

![screenshot](https://user-images.githubusercontent.com/817564/115903378-6b0e2380-a45b-11eb-9aad-2d8e4a4b20ce.jpg)

So how do we get docstrings to show up as multiline comments?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2799
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210423/cbd81bd4/attachment.htm>


More information about the Github-comments mailing list