Merge remote-tracking branch 'alexherbo2/crystal'

This commit is contained in:
Maxime Coste 2020-01-27 16:27:06 +11:00
commit 9842e24fc4

View File

@ -161,9 +161,13 @@ provide-module crystal %🐈
define-command -hidden crystal-new-line-inserted %{ define-command -hidden crystal-new-line-inserted %{
# Copy previous line indent # Copy previous line indent
try %(execute-keys -draft 'K<a-&>') try %{
execute-keys -draft 'K<a-&>'
}
# Remove empty line indent # Remove empty line indent
try %(execute-keys -draft 'k<a-x>s^\h+$<ret>d') try %{
execute-keys -draft 'k<a-x>s^\h+$<ret>d'
}
} }
define-command -hidden crystal-fetch-keywords %{ define-command -hidden crystal-fetch-keywords %{
set-register dquote %sh{ set-register dquote %sh{