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