diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-27 12:01:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 12:01:35 +0200 |
commit | 69b3d5acd375e36a06474c6ebd2622cb0c2fcca5 (patch) | |
tree | f34ba1b9e0e138f86666e77280da66f6ca0687e3 /runtime/doc | |
parent | fb4d5a184678ab231da20ef559c8e423dfa54d6e (diff) | |
parent | 3c3b7844b95879bcfd86677df4cfac3edb0fb132 (diff) | |
download | rneovim-69b3d5acd375e36a06474c6ebd2622cb0c2fcca5.tar.gz rneovim-69b3d5acd375e36a06474c6ebd2622cb0c2fcca5.tar.bz2 rneovim-69b3d5acd375e36a06474c6ebd2622cb0c2fcca5.zip |
Merge #10068 from janlazo/vim-8.1.0020
vim-patch:8.1.{20,995,1077}
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 11 | ||||
-rw-r--r-- | runtime/doc/usr_41.txt | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index cd5632e70c..c96f51772d 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2227,6 +2227,8 @@ range({expr} [, {max} [, {stride}]]) List items from {expr} to {max} readfile({fname} [, {binary} [, {max}]]) List get list of lines from file {fname} +reg_executing() Number get the executing register name +reg_recording() String get the recording register name reltime([{start} [, {end}]]) List get time value reltimefloat({time}) Float turn the time value into a Float reltimestr({time}) String turn time value into a String @@ -6434,6 +6436,15 @@ readfile({fname} [, {binary} [, {max}]]) the result is an empty list. Also see |writefile()|. +reg_executing() *reg_executing()* + Returns the single letter name of the register being executed. + Returns an empty string when no register is being executed. + See |@|. + +reg_recording() *reg_recording()* + Returns the single letter name of the register being recorded. + Returns an empty string string when not recording. See |q|. + reltime([{start} [, {end}]]) *reltime()* Return an item that represents a time value. The format of the item depends on the system. It can be passed to diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index b8fd6cdf7b..def781c109 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -962,6 +962,8 @@ Various: *various-functions* getreg() get contents of a register getregtype() get type of a register setreg() set contents and type of a register + reg_executing() return the name of the register being executed + reg_recording() return the name of the register being recorded shiftwidth() effective value of 'shiftwidth' |