aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/markdown
diff options
context:
space:
mode:
authorMichael Davis2022-11-14 00:45:52 +0000
committerGitHub2022-11-14 00:45:52 +0000
commitc74b97447f7a84f7728ce41c796f435371563a68 (patch)
treeae5af2ac3b6007341cc3238faab68d204ad631b8 /runtime/queries/markdown
parentfd585c1ee4ae0ac541f99b5e69a40833f5e3246d (diff)
Fix range offsets for multiple shell insertions (#4619)
d6323b7cbc21a9d3ba29738c76581dad93f9f415 introduced a regression for shell commands like `|`, `!`, and `<A-!>` which caused the new selections to be incorrect. This caused a panic when piping (`|`) would cause the new range to extend past the document end. The paste version of this bug was fixed in 48a3965ab43718ce2a49724cbcc294b04c328b81. This change also inherits the direction of the new range from the old range and adds integration tests to ensure that the behavior isn't broken in the future.
Diffstat (limited to 'runtime/queries/markdown')
0 files changed, 0 insertions, 0 deletions