emacs: add agw-lithtxt-mode

master
an 2020-03-20 23:56:42 -04:00
parent e37851ff81
commit 62300f678f
1 changed files with 12 additions and 0 deletions

View File

@ -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