fix(snippet): don't override unnamed register on tabstop select (#28998)

This commit is contained in:
Mathias Fußenegger
2024-05-25 21:23:04 +02:00
committed by GitHub
parent f03b1622ad
commit 7994fdba6a

View File

@ -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