summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-02-13 17:35:04 +0100
committerBram Moolenaar <Bram@vim.org>2013-02-13 17:35:04 +0100
commitaf9aeb9250ea657b1f8c06ef4bab21d56c111297 (patch)
tree511de31ca0f6b7ee6d0d0a9ed107468e414778c7 /runtime
parentc2149ea7cd782588563f235e2d1315eaa353ab7b (diff)
downloadvim-git-af9aeb9250ea657b1f8c06ef4bab21d56c111297.tar.gz
updated for version 7.3.816v7.3.816
Problem: Can't compute a hash. Solution: Add the sha256() function. (Tyru, Hirohito Higashi)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 9819d9bc9..b1748c16a 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1931,6 +1931,7 @@ settabvar( {nr}, {varname}, {val}) set {varname} in tab page {nr} to {val}
settabwinvar( {tabnr}, {winnr}, {varname}, {val}) set {varname} in window
{winnr} in tab page {tabnr} to {val}
setwinvar( {nr}, {varname}, {val}) set {varname} in window {nr} to {val}
+sha256( {string}) String SHA256 checksum of {string}
shellescape( {string} [, {special}])
String escape {string} for use as shell
command argument
@@ -5336,6 +5337,11 @@ setwinvar({nr}, {varname}, {val}) *setwinvar()*
:call setwinvar(1, "&list", 0)
:call setwinvar(2, "myvar", "foobar")
+sha256({string}) *sha256()*
+ Returns a String with 64 hex charactes, which is the SHA256
+ checksum of {string}.
+ {only available when compiled with the |+cryptv| feature}
+
shellescape({string} [, {special}]) *shellescape()*
Escape {string} for use as a shell command argument.
On MS-Windows and MS-DOS, when 'shellslash' is not set, it