rest-nvim / rest.nvim

A fast Neovim http client written in Lua
GNU General Public License v3.0
1.52k stars 141 forks source link

fix: set regtype "v" #394

Closed aktersnurra closed 1 month ago

aktersnurra commented 3 months ago

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.
boltlessengineer commented 1 month ago

Closing this PR due to the v3 release