Created
July 29, 2019 06:33
-
-
Save winny-/1cf26b0289ed6a2646509fe572d363e0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defvar conf-portage-font-lock-keywords | |
'(("[ \t]+\\(-[0-9A-Za-z_-]+\\)" 1 diff-removed t) | |
("[ \t]+\\([0-9A-Za-z_+][0-9A-Za-z_-]+\\)" 1 diff-added t))) | |
(define-derived-mode conf-portage-mode conf-unix-mode "Conf[Portage]" | |
"Conf Mode starter for Portage files" | |
(conf-mode-initialize "#" 'conf-portage-font-lock-keywords)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment