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

fix: set regtype "v"

Open aktersnurra opened this issue 8 months ago • 0 comments

regtype is currently set to "c" which is invalid and does not work on nvim 0.11. This patch replace "c" with "v", which I assume is the correct type (at least it works as intended when I tested it).

getregtype([{regname}])                                           *getregtype()*
		The result is a String, which is type of register {regname}.
		The value will be one of:
		    "v"			for |charwise| text
		    "V"			for |linewise| text
		    "<CTRL-V>{width}"	for |blockwise-visual| text
		    ""			for an empty or unknown register
		<CTRL-V> is one character with value 0x16.
		The {regname} argument is a string.  If {regname} is not
		specified, |v:register| is used.

aktersnurra avatar Jun 13 '24 18:06 aktersnurra