Created
October 30, 2014 11:59
-
-
Save rizaudo/47f8f0035fb2316269fc to your computer and use it in GitHub Desktop.
font-lock-modeとかの使い方
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defface extra-ws | |
'((t (:background "blue" :foreground "black" :height 0.8)) | |
:group 'hi-lock-faces)) | |
(font-lock-add-keywords 'agda2-mode ;mode-name | |
'(("[ℕτΓ]" . 'extra-ws) ;("正規表現" .'face-name) | |
(" " . 'trailing-whitespace) | |
("[ \t]+$" . 'trailing-whitespace) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment