wildfire.nvim icon indicating copy to clipboard operation
wildfire.nvim copied to clipboard

Can't shrink selection manually

Open xzbdmw opened this issue 1 year ago • 1 comments

I have this custom keymap

keymap("x", "<bs>", function()
    vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("holo", true, false, true), "t", false)
end, opts)

which simply shrink one char at two side as a workaround for too aggressive in incremental selection but this plugin will ignore this changed selection range and after I type bs and type CR again it will expand further like I don't type bs, which behaves different of treesitter' orignal one.

xzbdmw avatar Mar 06 '24 12:03 xzbdmw

with this plugin:

https://github.com/SUSTech-data/wildfire.nvim/assets/97848247/f6ae64e3-7fb5-496c-ad3d-737f61391016

with original treesitter

https://github.com/SUSTech-data/wildfire.nvim/assets/97848247/d13b20f4-919e-4440-868f-d092a1ab3eff

xzbdmw avatar Mar 06 '24 12:03 xzbdmw