Skip to content
Browse files

Fontlock for, for/ and lambda.

  • Loading branch information...
1 parent 4305888 commit f2f6da903228ad6b9f0cec2e5d2edb3e01258581 @RayRacine committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 elisp/palm-syntax.el
View
5 elisp/palm-syntax.el
@@ -20,9 +20,12 @@
'(("\\(\\s(\\|\\s)\\)" (1 'font-lock-comment-delimiter-face))
("\\(\\s-\\|(\\)\\(->\\)\\s-" (2 'font-lock-keyword-face))
("define\\(:\\|\\(-\\sw*\\)\\)" (0 'font-lock-keyword-face))
+ ("for\\(/\\sw+\\)?\\s-" (0 'font-lock-keyword-face))
+ ("λ:?" (0 'font-lock-keyword-face))
+ ("\\(let:\\)\\s-" (1 'font-lock-keyword-face))
("(:\\s-\\b\\(\\sw*[^[:space:]]*\\)" (1 'font-lock-function-name-face))
("\\(['](\\sw*[^[:space:]]*\\)" (1 'font-lock-constant-face))
- ("\\(struc\\)\\(\\(t-out\\)\\|t\\)"
+ ("\\(struc\\)\\(\\(t-out\\)\\|t\\)"
(1 'font-lock-constant-face)
(2 'font-lock-constant-face))
("\\<\\([[:upper:]]\\w*\\)" (1 'font-lock-type-face))

0 comments on commit f2f6da9

Please sign in to comment.
Something went wrong with that request. Please try again.