From 36d94cecb4ede272988c67e2a11d9c912029cad3 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Sat, 11 Aug 2018 10:13:35 +0300 Subject: [PATCH] rc lisp: Fix variable highlighting Fixes #2289 --- rc/base/lisp.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/lisp.kak b/rc/base/lisp.kak index 51ba584d..62e6e187 100644 --- a/rc/base/lisp.kak +++ b/rc/base/lisp.kak @@ -18,7 +18,7 @@ add-highlighter shared/lisp/comment region ';' '$' fill comment add-highlighter shared/lisp/code/ regex \b(nil|true|false)\b 0:value add-highlighter shared/lisp/code/ regex (((\Q***\E)|(///)|(\Q+++\E)){1,3})|(1[+-])|(<|>|<=|=|>=) 0:operator -add-highlighter shared/lisp/code/ regex \b(([':]\w+)|([*]\H+[*]))\b 0:variable +add-highlighter shared/lisp/code/ regex [':]\w+|\*\S+\* 0:variable add-highlighter shared/lisp/code/ regex \b(def[a-z]+|if|do|let|lambda|catch|and|assert|while|def|do|fn|finally|let|loop|new|quote|recur|set!|throw|try|var|case|if-let|if-not|when|when-first|when-let|when-not|(cond(->|->>)?))\b 0:keyword # Commands