rest.nvim
rest.nvim copied to clipboard
fix: set regtype "v"
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.