diff --git a/rc/filetype/crystal.kak b/rc/filetype/crystal.kak index 9f1e7210..3c4f5dfe 100644 --- a/rc/filetype/crystal.kak +++ b/rc/filetype/crystal.kak @@ -205,7 +205,7 @@ define-command -hidden crystal-indent-on-new-line %{ evaluate-commands -no-hooks -draft -itersel %{ # Copy previous line indent try %{ execute-keys -draft K } - # Remove previos line's trailing spaces + # Remove previous line's trailing spaces try %{ execute-keys -draft k :ruby-trim-indent } # Indent after start structure/opening statement try %{ execute-keys -draft k ^\h*(?:begin|case|class|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|.+\bdo$|.+\bdo\h\|.+(?=\|))[^0-9A-Za-z_!?] j }