1;; Copyright (c) 2014 IBM Corporation and others, all rights reserved 2;; Thx: http://www.ergoemacs.org/emacs/elisp_syntax_coloring.html 3;; Thx: http://repo.or.cz/w/emacs.git/blob/HEAD:/lisp/progmodes/sh-script.el 4;; 5;; load this with M-x eval-buffer 6;; 7;; TODO: .* 8 9(setq icuDepKeywords 10 '(("group:\\|system_symbols:\\|library:" . font-lock-function-name-face) 11 ("deps" . font-lock-constant-face) 12 ("#.*" . font-lock-comment-face) 13 ("[a-zA-Z0-9_]+\\.o" . font-lock-doc-face) 14 ) 15) 16 17(define-derived-mode icu-dependencies-mode fundamental-mode 18 (setq font-lock-defaults '(icuDepKeywords)) 19 (setq mode-name "icu dependencies.txt") 20 (setq comment-start "# ") 21) 22