-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
The new syntax introduced with hylang/hy#2270 is not being recognized by hy-mode. For example:
(import click)
(defn
[click.command
(click.option "--name")]
main [name]
(print "Hi" name))
(when (= __name__ "__main__") (main))Here, the defun is not highlighted correctly. The responsible part is probably this:
Lines 347 to 352 in df81486
| (rx-to-string | |
| `(: "(" | |
| symbol-start | |
| (group-n 1 (or ,@hy-font-lock--definitions)) | |
| (1+ space) | |
| (group-n 2 (1+ word)))) |
Metadata
Metadata
Assignees
Labels
No labels