]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/depstest/icu-dependencies-mode.el
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / test / depstest / icu-dependencies-mode.el
CommitLineData
f3c0d7a5 1;; Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html
b331163b
A
2;; Copyright (c) 2014 IBM Corporation and others, all rights reserved
3;; Thx: http://www.ergoemacs.org/emacs/elisp_syntax_coloring.html
4;; Thx: http://repo.or.cz/w/emacs.git/blob/HEAD:/lisp/progmodes/sh-script.el
5;;
6;; load this with M-x eval-buffer
7;;
8;; TODO: .*
9
10(setq icuDepKeywords
11 '(("group:\\|system_symbols:\\|library:" . font-lock-function-name-face)
12 ("deps" . font-lock-constant-face)
13 ("#.*" . font-lock-comment-face)
14 ("[a-zA-Z0-9_]+\\.o" . font-lock-doc-face)
15 )
16)
17
18(define-derived-mode icu-dependencies-mode fundamental-mode
19 (setq font-lock-defaults '(icuDepKeywords))
20 (setq mode-name "icu dependencies.txt")
21 (setq comment-start "# ")
22)