emacs: add agw-lithtxt-mode
parent
e37851ff81
commit
62300f678f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue