Commit 1b2d85d
authored
fix(repeatable_move): bug when nil was returned or normal command used; no longer requires { expr = true } (#795)
Should fix
#775
https://github.com/user-attachments/assets/afecce63-6db3-42c8-977b-e1a209ae9c68
Not sure if this fix is already being addressed in another way or
refactor process, but just in case, the move_repeatable function was
failing when no string was being returned (nil in this case) due to {
expr = true } keymap options.1 parent b54cec3 commit 1b2d85d
File tree
3 files changed
+18
-16
lines changed- lua/nvim-treesitter-textobjects
- scripts
3 files changed
+18
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
| 403 | + | |
| 404 | + | |
402 | 405 | | |
403 | 406 | | |
404 | | - | |
405 | | - | |
| 407 | + | |
| 408 | + | |
406 | 409 | | |
407 | 410 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
0 commit comments