diff options
author | 2023-01-29 21:25:17 +0100 | |
---|---|---|
committer | 2023-01-29 21:25:17 +0100 | |
commit | db96be1a96c04823a3c3a0be3d14b85905ad8ee5 (patch) | |
tree | 73afa67b832420573365b8b45190ce8487b9a823 | |
parent | Makefile: update (diff) | |
download | company-ebuild-db96be1a96c04823a3c3a0be3d14b85905ad8ee5.tar.gz company-ebuild-db96be1a96c04823a3c3a0be3d14b85905ad8ee5.tar.bz2 company-ebuild-db96be1a96c04823a3c3a0be3d14b85905ad8ee5.zip |
company-ebuild-keywords.el: add arch variations
-, ~, and -*
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r-- | company-ebuild-keywords.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/company-ebuild-keywords.el b/company-ebuild-keywords.el index 3a1a33f..e7999f7 100644 --- a/company-ebuild-keywords.el +++ b/company-ebuild-keywords.el @@ -37,7 +37,10 @@ ;; Keywords from ebuild-mode font lock. (defconst company-ebuild--constant-keywords-architectures - ebuild-mode-arch-list) + (append '("-*") + (mapcar (lambda (s) (concat "-" s)) ebuild-mode-arch-list) + (mapcar (lambda (s) (concat "~" s)) ebuild-mode-arch-list) + ebuild-mode-arch-list)) (defconst company-ebuild--constant-keywords-restrict ebuild-mode-restrict-list) |