(Arne Babenhauserheide)
2014-03-29: note that the underscore is a workaround. note that the underscore is a workaround.
diff --git a/wisp-mode.el b/wisp-mode.el --- a/wisp-mode.el +++ b/wisp-mode.el @@ -74,7 +74,10 @@ `(( ("\\`#!.*" . font-lock-comment-face) ; initial hashbang ("\"\\.\\*\\?" . font-lock-string-face) ; strings (anything between "") - ("^_+ *$" . font-lock-default-face) ; line with only underscores and whitespace shown as default text. + ("^_+ *$" . font-lock-default-face) ; line with only underscores + ; and whitespace shown as + ; default text. This is just + ; a bad workaround. ("^\\(?:_* +\\| *\\): *$" . font-lock-keyword-face) ; line with only a : + whitespace, not at the beginning ("^\\(?:_* +\\| *\\): \\| *\\. " . font-lock-keyword-face) ; leading : or . ( ,(regexp-opt wisp-builtin 'symbols) . font-lock-builtin-face) ; generic functions