diff --git a/emacs/data.el b/emacs/data.el index 1396c21..53f5e4a 100644 --- a/emacs/data.el +++ b/emacs/data.el @@ -97,4 +97,16 @@ (provide 'agw-lithsnd-mode) +;; Lithium text definition mode +(setq agw-lithtxt-highlights + '(("^\\(==\\|%%\\|@@\\|\\+\\+\\|!![a-z]+\\) " . font-lock-keyword-face) + ("^##.*$" . font-lock-comment-face) + ("\\\\#" . font-lock-constant-face))) + +(define-derived-mode agw-lithtxt-mode prog-mode "lithtxt" + "Major mode for Lithium sound definitions." + (setq font-lock-defaults '(agw-lithtxt-highlights))) + +(provide 'agw-lithtxt-mode) + ;; EOF