-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(mini.hipatterns) Fix error after deleting first line in a buffer.
Details: - Resolves #536.
- Loading branch information
1 parent
35e29f7
commit 66e3cdc
Showing
6 changed files
with
83 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
tests/screenshots/tests-test_hipatterns.lua---enable()---reacts-to-delete-of-line-with-match
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
--|---------|----- | ||
01|xxx | ||
01|abcd Hello | ||
02|xxx | ||
03|abcd Hello | ||
04|xxx | ||
03|xxx | ||
04|abcd Hello | ||
05|xxx | ||
06|~ | ||
07|~ | ||
06|xxx | ||
07|abcd Hello | ||
08|~ | ||
09|<e] [+] 1,1 All | ||
10| | ||
|
||
--|---------|----- | ||
01|000000000000000 | ||
01|000000000011111 | ||
02|000000000000000 | ||
03|000000000011111 | ||
04|000000000000000 | ||
03|000000000000000 | ||
04|000000000011111 | ||
05|000000000000000 | ||
06|222222222222222 | ||
07|222222222222222 | ||
06|000000000000000 | ||
07|000000000011111 | ||
08|222222222222222 | ||
09|333333333333333 | ||
10|444444444444444 |
22 changes: 11 additions & 11 deletions
22
...creenshots/tests-test_hipatterns.lua---enable()---reacts-to-delete-of-line-with-match-002
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
--|---------|----- | ||
01|xxx | ||
02|xxx | ||
03|xxx | ||
03|abcd Hello | ||
04|xxx | ||
05|~ | ||
06|~ | ||
05|xxx | ||
06|abcd Hello | ||
07|~ | ||
08|~ | ||
09|<e] [+] 3,1 All | ||
09|<e] [+] 1,1 All | ||
10| | ||
|
||
--|---------|----- | ||
01|000000000000000 | ||
02|000000000000000 | ||
03|000000000000000 | ||
03|000000000011111 | ||
04|000000000000000 | ||
05|111111111111111 | ||
06|111111111111111 | ||
07|111111111111111 | ||
08|111111111111111 | ||
09|222222222222222 | ||
10|333333333333333 | ||
05|000000000000000 | ||
06|000000000011111 | ||
07|222222222222222 | ||
08|222222222222222 | ||
09|333333333333333 | ||
10|444444444444444 |
23 changes: 23 additions & 0 deletions
23
...creenshots/tests-test_hipatterns.lua---enable()---reacts-to-delete-of-line-with-match-003
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--|---------|----- | ||
01|xxx | ||
02|xxx | ||
03|xxx | ||
04|xxx | ||
05|abcd Hello | ||
06|~ | ||
07|~ | ||
08|~ | ||
09|<e] [+] 3,1 All | ||
10| | ||
|
||
--|---------|----- | ||
01|000000000000000 | ||
02|000000000000000 | ||
03|000000000000000 | ||
04|000000000000000 | ||
05|000000000011111 | ||
06|222222222222222 | ||
07|222222222222222 | ||
08|222222222222222 | ||
09|333333333333333 | ||
10|444444444444444 |
23 changes: 23 additions & 0 deletions
23
...creenshots/tests-test_hipatterns.lua---enable()---reacts-to-delete-of-line-with-match-004
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--|---------|----- | ||
01|xxx | ||
02|xxx | ||
03|xxx | ||
04|xxx | ||
05|~ | ||
06|~ | ||
07|~ | ||
08|~ | ||
09|<e] [+] 4,1 All | ||
10| | ||
|
||
--|---------|----- | ||
01|000000000000000 | ||
02|000000000000000 | ||
03|000000000000000 | ||
04|000000000000000 | ||
05|111111111111111 | ||
06|111111111111111 | ||
07|111111111111111 | ||
08|111111111111111 | ||
09|222222222222222 | ||
10|333333333333333 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters