diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-10-29 08:27:28 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-10-29 08:30:39 +0100 |
commit | 9ef01272b23cffe98b5b19e34d05f1ac44cbeab1 (patch) | |
tree | c9171e574a01fb8f9c0245a2c2fbc20f4ef4bc4d /runtime/doc/eval.txt | |
parent | a1e822fbc63984a2744dd723e286f9eafd9039f1 (diff) | |
download | rneovim-9ef01272b23cffe98b5b19e34d05f1ac44cbeab1.tar.gz rneovim-9ef01272b23cffe98b5b19e34d05f1ac44cbeab1.tar.bz2 rneovim-9ef01272b23cffe98b5b19e34d05f1ac44cbeab1.zip |
vim-patch:7dda86f2ff35
Update runtime files.
https://github.com/vim/vim/commit/7dda86f2ff35bb80afce4da24782fd58216bbe50
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9d84ff59c6..eaf0b58e2b 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2339,7 +2339,7 @@ tolower({expr}) String the String {expr} switched to lowercase toupper({expr}) String the String {expr} switched to uppercase tr({src}, {fromstr}, {tostr}) String translate chars of {src} in {fromstr} to chars in {tostr} -trim({text}[, {mask}]) String trim characters in {mask} from {text} +trim({text}[, {mask}]) String trim characters in {mask} from {text} trunc({expr}) Float truncate Float {expr} type({name}) Number type of variable {name} undofile({name}) String undo file name for {name} @@ -5883,31 +5883,6 @@ nvim_...({...}) *nvim_...()* *eval-api* also take the numerical value 0 to indicate the current (focused) object. -option_restore({list}) *option_restore()* - Restore options previously saved by option_save(). - When buffer-local options have been saved, this function must - be called when the same buffer is the current buffer. - When window-local options have been saved, this function must - be called when the same window is the current window. - When in the wrong buffer and/or window an error is given and - the local options won't be restored. - NOT IMPLEMENTED YET! - -option_save({list}) *option_save()* - Saves the options named in {list}. The returned value can be - passed to option_restore(). Example: > - let s:saved_options = option_save([ - \ 'ignorecase', - \ 'iskeyword', - \ ]) - au <buffer> BufLeave * - \ call option_restore(s:saved_options) -< The advantage over using `:let` is that global and local - values are handled and the script ID is restored, so that - `:verbose set` will show where the option was originally set, - not where it was restored. - NOT IMPLEMENTED YET! - or({expr}, {expr}) *or()* Bitwise OR on the two arguments. The arguments are converted to a number. A List, Dict or Float argument causes an error. |