summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2021-04-17 11:33:00 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2021-04-17 20:56:23 +0200
commit9fadda0df4ea9d258ca89e9b0e90a75c644be9b2 (patch)
tree0d0a210095498ebc4228dba7c0273f788be7abea
parent997059fed1a5f9e27190ea0252bbc03ee28d8b18 (diff)
rc nim: follow our convention
-rw-r--r--rc/filetype/nim.kak4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/filetype/nim.kak b/rc/filetype/nim.kak
index f398fa23..1f6a8335 100644
--- a/rc/filetype/nim.kak
+++ b/rc/filetype/nim.kak
@@ -108,8 +108,8 @@ add-highlighter shared/nim/code/ regex %{'(\\([rcnlftvabe\\"']|0*[12]?\d?\d|x[0-
# Commands
# ‾‾‾‾‾‾‾‾
-def -hidden nim-indent-on-new-line %{
- eval -draft -itersel %{
+define-command -hidden nim-indent-on-new-line %{
+ evaluate-commands -draft -itersel %{
# copy '#' comment prefix and following white spaces
try %{ exec -draft k <a-x> s ^\h*#\h* <ret> y jgh P }
# preserve previous line indent