diff --git a/ini-mode.el b/ini-mode.el index b5a12d1..e9b3997 100644 --- a/ini-mode.el +++ b/ini-mode.el @@ -35,7 +35,15 @@ '(("\\([#;].*$\\)" . font-lock-comment-face) ("\\[\\(.+\\)\\]" 1 'font-lock-type-face) ("\\(^.+\\)=" 1 'font-lock-variable-name-face) - ("=\\(.+$\\)" 1 'font-lock-string-face)) + ("=\\(.+$\\)" 1 'font-lock-string-face) + ("\\(\\$?{\\)\\(.+\\)\\(}\\)" + (1 'font-lock-bracket-face t) + (2 'font-lock-variable-use-face t) + (3 'font-lock-bracket-face t)) + ("\\(%\\)\\(.+\\)\\(%\\)" + (1 'font-lock-bracket-face t) + (2 'font-lock-variable-use-face t) + (3 'font-lock-bracket-face t))) "Keywords for font locking in `ini-mode'.") (define-derived-mode ini-mode nil "INI"