simonkrauter/geany-nim-filetype

Multiline comments

Peter2121 opened this issue · 2 comments

Recent versions of Nim support multi-line comments:

#[
Multi
line
comment
here
]#

I don't understand how to add it to filetypes.Nim.conf correctly.

According to https://www.geany.org/manual/current/index.html#filetype-configuration we have to add comment_open and comment_close. I will check it later.

I tried, it does not work as expected.
I suppose that the first # is recognized as the beginning of one-line comment, so the [ after it is ignored.