preserve " register in Range.from_text_object

This commit is contained in:
Jonathan Apodaca 2024-09-28 09:23:29 -06:00
parent d317fcf82d
commit a98eeb71c1

View File

@ -104,6 +104,7 @@ function Range.from_text_object(text_obj, opts)
local positions
vim.api.nvim_buf_call(opts.buf, function()
positions = State.run(0, function(s)
s:track_register '"'
s:track_pos '.'
s:track_pos "'["
s:track_pos "']"