From 1631327c33a327e2d5fd3768df59bb3be5814bb1 Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Wed, 26 Dec 2018 15:14:27 -0500 Subject: [PATCH] Some collected fixes for Clojure highlighting - condp is a keyword - Highlight '10' correctly - Highlight shebang line as a comment --- rc/base/clojure.kak | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc/base/clojure.kak b/rc/base/clojure.kak index 3ee55db7c..5cd7c1c86 100644 --- a/rc/base/clojure.kak +++ b/rc/base/clojure.kak @@ -16,6 +16,7 @@ hook global BufCreate .*[.](clj|cljc|cljs|cljx|edn) %{ add-highlighter shared/clojure regions add-highlighter shared/clojure/code default-region group add-highlighter shared/clojure/comment region '(? cond->> def definline definterface defmacro defmethod + case cond condp cond-> cond->> def definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype fn if if-let if-not if-some let letfn new ns when when-first when-let when-not when-some . .." @@ -141,7 +142,7 @@ evaluate-commands %sh{ add-highlighter shared/clojure/code/ regex ::?(${symbol_char}+/)?${symbol_char}+ 0:value # Numbers - add-highlighter shared/clojure/code/ regex (?