ef42fc3a34
X-SVN-Rev: 35977
22 lines
688 B
EmacsLisp
22 lines
688 B
EmacsLisp
;; Copyright (c) 2014 IBM Corporation and others, all rights reserved
|
|
;; Thx: http://www.ergoemacs.org/emacs/elisp_syntax_coloring.html
|
|
;; Thx: http://repo.or.cz/w/emacs.git/blob/HEAD:/lisp/progmodes/sh-script.el
|
|
;;
|
|
;; load this with M-x eval-buffer
|
|
;;
|
|
;; TODO: .*
|
|
|
|
(setq icuDepKeywords
|
|
'(("group:\\|system_symbols:\\|library:" . font-lock-function-name-face)
|
|
("deps" . font-lock-constant-face)
|
|
("#.*" . font-lock-comment-face)
|
|
("[a-zA-Z0-9_]+\\.o" . font-lock-doc-face)
|
|
)
|
|
)
|
|
|
|
(define-derived-mode icu-dependencies-mode fundamental-mode
|
|
(setq font-lock-defaults '(icuDepKeywords))
|
|
(setq mode-name "icu dependencies.txt")
|
|
(setq comment-start "# ")
|
|
)
|