LLVM separator will now span the window

This commit is contained in:
Benson Chu 2022-10-19 17:41:24 -05:00
parent 74462ef8ac
commit f00a601353
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 32878fa99533571be8b1c0511312d84e0f1ad758
Subproject commit d47b833b654a21c2f58ccf01653dc21ca1bbfdbe

View file

@ -77,11 +77,11 @@
(load-file? "/scratch/benson/tools2/llvm_cgt/llvm-project/llvm/utils/emacs/tablegen-mode.el")
(load-file? "/scratch/benson/tools2/llvm_cgt/llvm-project/llvm/utils/emacs/emacs.el")
(defface llvm-separator-face `((t (:background "gray25" :inherit font-lock-warning-face)))
(defface llvm-separator-face `((t (:background "gray25" :extend t :inherit font-lock-warning-face)))
nil)
(add-to-list 'llvm-font-lock-keywords
`(,(rx line-start (optional "# ") "***" (+ nonl) "***" (optional ":") line-end) . 'llvm-separator-face)
`(,(rx line-start (optional "# ") "***" (+ nonl) "***" (optional ":") "\n") . 'llvm-separator-face)
t)
(add-to-list 'auto-mode-alist