From e102251880903207f81783bf3d8b7333b2374706 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Wed, 29 Nov 2017 19:15:00 +0300 Subject: [PATCH] rc: Implement basic Nim support --- rc/extra/nim.kak | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 rc/extra/nim.kak diff --git a/rc/extra/nim.kak b/rc/extra/nim.kak new file mode 100644 index 00000000..95df5c8f --- /dev/null +++ b/rc/extra/nim.kak @@ -0,0 +1,61 @@ +# https://nim-lang.org/ +# + +# Detection +# ‾‾‾‾‾‾‾‾‾ + +hook global BufCreate .*\.nim %{ + set-option buffer filetype nim +} + +# Highlighters +# ‾‾‾‾‾‾‾‾‾‾‾‾ + +add-highlighter shared/ regions -default code nim \ + double_string '"' (?