Skip to content
Browse files

Updated to separate <: :> and : ({|}|;) logic as well as adding : # c…

…omments
  • Loading branch information...
1 parent a11d443 commit c6cad1320edeed80d284c05863f5fd4a143f392f @samvtran committed
Showing with 12 additions and 1 deletion.
  1. +12 −1 kolon-mode.el
View
13 kolon-mode.el
@@ -12,10 +12,21 @@
;; (<:)((?:.|)+?)(:>)
;;'("\\(<?:\\)\\(\\(?:.\\|\\)+?\\)\\(\\(:>\\)\\|\\({\\)\\|\\(}\\)\\)"
- '("\\(<?:\\)\\(\\(?:.\\|\\)+?\\)\\(\\(:>\\)\\|\\({}?\\)\\|\\(}\\)\\|\\(;\\)\\)"
+ ;; '("\\(<?:\\)\\(\\(?:.\\|\\)+?\\)\\(\\(:>\\)\\|\\({}?\\)\\|\\(}\\)\\|\\(;\\)\\)"
+ ;; (1 font-lock-string-face t)
+ ;; (2 font-lock-variable-name-face t)
+ ;; (3 font-lock-string-face t))
+ '("\\(<:\\)\\(\\(?:.\\|\\)+?\\)\\(:>\\)"
(1 font-lock-string-face t)
(2 font-lock-variable-name-face t)
(3 font-lock-string-face t))
+ '("\\(^\t*:\\)\\(\\(?:.\\)+?\\)\\(}\\|{\\|;\\)"
+ (1 font-lock-string-face t)
+ (2 font-lock-variable-name-face t)
+ (3 font-lock-string-face t))
+ '("^\t*\\(:[[:space:]]?#\\)\\(.*\\)"
+ (1 font-lock-comment-delimiter-face t)
+ (2 font-lock-comment-face t))
(list
(concat "\\b\\(" kolon-keywords "\\)\\b")
1 font-lock-keyword-face t)

0 comments on commit c6cad13

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