From 9fadda0df4ea9d258ca89e9b0e90a75c644be9b2 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 17 Apr 2021 11:33:00 +0200 Subject: [PATCH] rc nim: follow our convention --- rc/filetype/nim.kak | 4 ++-- 1 file 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 s ^\h*#\h* y jgh P } # preserve previous line indent