mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
fix(snippet): don't override unnamed register on tabstop select (#29008)
(cherry picked from commit 7994fdba6a
)
Co-authored-by: Mathias Fußenegger <mfussenegger@users.noreply.github.com>
This commit is contained in:
![41898282+github-actions[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
777e15fa61
commit
84d7bfcf16
@@ -315,7 +315,7 @@ local function select_tabstop(tabstop)
|
|||||||
move_cursor_to(range[1] + 1, range[2] + 1)
|
move_cursor_to(range[1] + 1, range[2] + 1)
|
||||||
feedkeys('v')
|
feedkeys('v')
|
||||||
move_cursor_to(range[3] + 1, range[4])
|
move_cursor_to(range[3] + 1, range[4])
|
||||||
feedkeys('o<c-g>')
|
feedkeys('o<c-g><c-r>_')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user