From a9b52b315cbfd69f1dbdb8851c713c16a49d7b75 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 1 Jul 2023 14:59:02 +0800 Subject: [PATCH] Fixed lisp highlighter marking everything as variable --- rc/filetype/lisp.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/lisp.kak b/rc/filetype/lisp.kak index 9ab91826..d018e783 100644 --- a/rc/filetype/lisp.kak +++ b/rc/filetype/lisp.kak @@ -36,10 +36,10 @@ add-highlighter shared/lisp/code default-region group add-highlighter shared/lisp/string region '"' (??@^_~-]* 0:variable 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(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 -add-highlighter shared/lisp/code/ regex (#?(['`:]|,@?))?\b[a-zA-Z][\w!$%&*+./:<=>?@^_~-]* 0:variable add-highlighter shared/lisp/code/ regex \*[a-zA-Z][\w!$%&*+./:<=>?@^_~-]*\* 0:variable add-highlighter shared/lisp/code/ regex (\b\d+)?\.\d+([eEsSfFdDlL]\d+)?\b 0:value