q: add comment string + fix block comment regex #22

Merged
benlubas merged 1 commit from push-vzkxwzpztvzu into main 2025-08-01 18:19:09 +02:00
benlubas commented 2025-07-31 22:08:08 +02:00 (Migrated from github.com)
  • adds q's line comment char of /
  • corrects q's block comment syntax
/
this is commented
\
//
This is not commented, but codemirror highlights it as if it were
\

And how about that, github-linguist uses a parser that highlights it correctly.

I've tested both changes by building jupyter lab with this patch applied. Let me know if there's anything else I need to do

- adds q's line comment char of `/` - corrects q's block comment syntax ```q / this is commented \ // This is not commented, but codemirror highlights it as if it were \ ``` And how about that, github-linguist uses a parser that highlights it correctly. I've tested both changes by building jupyter lab with this patch applied. Let me know if there's anything else I need to do
marijnh commented 2025-08-01 18:19:24 +02:00 (Migrated from github.com)

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/legacy-modes!22
No description provided.