Commit 48e02df
committed
visual mode re-highlight fix
-switching from and then back to the peekaboo buffer via multiple
`wincmd p` operations fails, possibly due to the use of option
`bufhidden` in its creation, meaning its never present in the buffer
list
-instead, record window number and reset following the `gv` operation
-bug likely went unnoticed because the side-effects of latter
buffer modifications aren't that noticeable. however, should the
multiple `wincmd p` operations land you on a buffer with
`modifiable=0` set, then a very visible:
`E21: Cannot make changes,'modifiable' is off`
error is presented, and the operation a user is attempting (e.g.
"+y etc.) fails ..then you know about it!1 parent a7c940b commit 48e02df
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments