|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
;; Author: C-xC-c <boku@plum.moe
|
|
|
|
;; Author: C-xC-c <boku@plum.moe
|
|
|
|
;; Created: July 2020
|
|
|
|
;; Created: July 2020
|
|
|
|
;; Package-Version: 1.0.0
|
|
|
|
;; Package-Version: 1.1.0
|
|
|
|
;; Keywords: gentoo, package.use
|
|
|
|
;; Keywords: gentoo, package.use
|
|
|
|
;; URL: https://words.plum.moe/package.use-mode.html
|
|
|
|
;; URL: https://words.plum.moe/package.use-mode.html
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Commentary:
|
|
|
|
;; Emacs mode for Gentoo package.use
|
|
|
|
;; Emacs mode for Gentoo package.use
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
;;Thanks to nginx-mode where I stole most of this.
|
|
|
|
;; Thanks to nginx-mode where I stole most of this.
|
|
|
|
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
|
|
|
@ -51,11 +51,11 @@
|
|
|
|
;; >=www-servers/
|
|
|
|
;; >=www-servers/
|
|
|
|
;; www-servers/
|
|
|
|
;; www-servers/
|
|
|
|
`(,(concat package.use--version-bit package.use--catagory-bit)
|
|
|
|
`(,(concat package.use--version-bit package.use--catagory-bit)
|
|
|
|
. font-lock-function-name-face)
|
|
|
|
0 font-lock-function-name-face)
|
|
|
|
;; >=nginx-1.19.1
|
|
|
|
;; >=nginx-1.19.1
|
|
|
|
;; nginx
|
|
|
|
;; nginx
|
|
|
|
`(,(concat package.use--version-bit package.use--name-bit)
|
|
|
|
`(,(concat package.use--version-bit package.use--name-bit)
|
|
|
|
. font-lock-keyword-face)
|
|
|
|
0 font-lock-keyword-face)
|
|
|
|
;; >=www-servers/nginx-1.19.1
|
|
|
|
;; >=www-servers/nginx-1.19.1
|
|
|
|
;; www-servers/nginx
|
|
|
|
;; www-servers/nginx
|
|
|
|
`(,(concat package.use--version-bit package.use--catagory-bit package.use--name-bit)
|
|
|
|
`(,(concat package.use--version-bit package.use--catagory-bit package.use--name-bit)
|
|
|
@ -79,7 +79,7 @@
|
|
|
|
'(package.use-font-lock-keywords nil)))
|
|
|
|
'(package.use-font-lock-keywords nil)))
|
|
|
|
|
|
|
|
|
|
|
|
;;;###autoload
|
|
|
|
;;;###autoload
|
|
|
|
(add-to-list 'auto-mode-alist '("package\\.use$" . package.use-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("package\.\\(use\\|accept_keywords\\|mask\\|unmask\\)\$" . package.use-mode))
|
|
|
|
;;;###autoload
|
|
|
|
;;;###autoload
|
|
|
|
(add-to-list 'auto-mode-alist '("/package\\.use/" . package.use-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("/package\\.use/" . package.use-mode))
|
|
|
|
|
|
|
|
|
|
|
|