Fix typo in comment

This commit is contained in:
John Isom 2020-08-02 11:33:56 -06:00
parent 6cf39a5f4f
commit f59bdc614f

View File

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