add kirby mode

This commit is contained in:
Inhji 2024-03-28 16:20:36 +01:00
parent e5aeae8c81
commit 4563c86cdb
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
(setq kirby-highlights
'(("^[a-zA-Z\w]*:" . 'font-lock-function-name-face)
("-*" . 'font-lock-constant-face)))
(define-derived-mode kirby-mode fundamental-mode "Kirby"
"major mode for editing Kirby CMS content files."
(setq font-lock-defaults '(kirby-highlights)))