Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'chellmuth/syntax-highlighting'

  • Loading branch information...
commit b5245a33fc9958719f3351a4e760642b48039b50 2 parents a10aa6e + 1c8aea3
@Jonanin authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  coffee-mode.el
View
3  coffee-mode.el
@@ -678,6 +678,9 @@ line? Returns `t' or `nil'. See the README for more details."
;; code for syntax highlighting
(setq font-lock-defaults '((coffee-font-lock-keywords)))
+ ;; treat "_" as part of a word
+ (modify-syntax-entry ?_ "w" coffee-mode-syntax-table)
+
;; perl style comment: "# ..."
(modify-syntax-entry ?# "< b" coffee-mode-syntax-table)
(modify-syntax-entry ?\n "> b" coffee-mode-syntax-table)
Please sign in to comment.
Something went wrong with that request. Please try again.