I'm trying to add syntax highlighting for a new language.

# single comments, like # in this file
comment_single=#
# multiline comments
comment_open=#~
comment_close=~#

The above is not working. For a single line comment, it will only highlight the first word but not the whole line, e.g: # foo bar then it will only highlight # foo but not bar. For multiline comment, the closing block ~# is not highlighted.

I copied filetypes.csharp and modify it to create my own filetypes.foo.conf.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/repo-discussions/3352@github.com>