Closed deathaxe closed 4 years ago
This PR proposes to ...
align the caret with the match keyword when pressing enter.
match
The result is:
- match: pattern |
Before it was:
Note: This might also be achieved by indentation rules, but I had no luck with them so far.
trim spaces after push:, set:, ... if enter is pressed and adds an indented line afterwards.
push:
set:
Note: The macro works only for this special purpose as delete_word also removes the colon.
delete_word
removes automatic insertion of linefeed when typing colon after context names as it often ends in empty lines after editing context names.
This PR proposes to ...
align the caret with the
match
keyword when pressing enter.The result is:
Before it was:
Note: This might also be achieved by indentation rules, but I had no luck with them so far.
trim spaces after
push:
,set:
, ... if enter is pressed and adds an indented line afterwards.Note: The macro works only for this special purpose as
delete_word
also removes the colon.removes automatic insertion of linefeed when typing colon after context names as it often ends in empty lines after editing context names.