mirror of
https://github.com/neovim/neovim
synced 2025-07-18 10:11:50 +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:
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)
|
||||
feedkeys('v')
|
||||
move_cursor_to(range[3] + 1, range[4])
|
||||
feedkeys('o<c-g>')
|
||||
feedkeys('o<c-g><c-r>_')
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user