1
0
forked from aniani/vim

updated for version 7.4.145

Problem:    getregtype() does not return zero for unknown register.
Solution:   Adjust documention: return empty string for unknown register.
            Check the register name to be valid. (Yukihiro Nakadaira)
This commit is contained in:
Bram Moolenaar
2014-01-14 12:33:36 +01:00
parent 9d1685d1cf
commit 32b9201f37
3 changed files with 6 additions and 2 deletions

View File

@@ -3460,7 +3460,7 @@ getregtype([{regname}]) *getregtype()*
"v" for |characterwise| text
"V" for |linewise| text
"<CTRL-V>{width}" for |blockwise-visual| text
0 for an empty or unknown register
"" for an empty or unknown register
<CTRL-V> is one character with value 0x16.
If {regname} is not specified, |v:register| is used.