summaryrefslogtreecommitdiff
path: root/llama.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-09-20 21:54:29 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-09-20 21:54:29 +0200
commita0dcde9d95b307d18fa812ebfbb0d8b1acabea11 (patch)
tree77f879261ca9386a91bccbb6e653b153be1acb60 /llama.el
parent62b270fc1d062301515cc7309fc2fc33417a61da (diff)
llama-font-lock-keywords: Also fontify llama
Use the same face as for `lambda' not the same as for `##'. The reason that `##' uses another face is that it might appear right next to another symbol using `font-lock-keyword-face' with no space in between. By using another face, we prevent them from looking like one symbol. The same cannot happen for `llama'.
Diffstat (limited to 'llama.el')
-rw-r--r--llama.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/llama.el b/llama.el
index c23dd67..0aeaecd 100644
--- a/llama.el
+++ b/llama.el
@@ -346,6 +346,7 @@ expansion, and the looks of this face should hint at that.")
(defvar llama-font-lock-keywords
'(("(\\(##\\)" 1 'llama-macro)
+ ("(\\(llama\\)\\_>" 1 'font-lock-keyword-face)
("\\_<\\(?:_?%[1-9]?\\)\\_>"
0 (llama--maybe-face 'llama-mandatory-argument))
("\\_<\\(?:_?&[1-9*]?\\)\\_>"