| Index: source/test/depstest/icu-dependencies-mode.el
|
| diff --git a/source/test/depstest/icu-dependencies-mode.el b/source/test/depstest/icu-dependencies-mode.el
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..26e539241b72fb300d7ac20cf6da203844661f0f
|
| --- /dev/null
|
| +++ b/source/test/depstest/icu-dependencies-mode.el
|
| @@ -0,0 +1,21 @@
|
| +;; 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 "# ")
|
| +)
|
|
|