aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-08 13:57:24 +0800
committerGitHub <noreply@github.com>2023-05-08 13:57:24 +0800
commit057a5bc78d90db50caa85cdb34986fb186f0fd98 (patch)
treee5d770680e129e8ebdbb3faf1d0efaecd6950c98 /runtime/doc/eval.txt
parent01f81ed89e58c64827306615a87779bdfea405bc (diff)
downloadrneovim-057a5bc78d90db50caa85cdb34986fb186f0fd98.tar.gz
rneovim-057a5bc78d90db50caa85cdb34986fb186f0fd98.tar.bz2
rneovim-057a5bc78d90db50caa85cdb34986fb186f0fd98.zip
docs: add some missing changes from Vim runtime updates (#23533)
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 05fdf2f5bb..09c44a88af 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4270,10 +4270,10 @@ The input is in the variable "line", the results in the variables "file",
getting the scriptnames in a Dictionary ~
*scriptnames-dictionary*
-The |:scriptnames| command can be used to get a list of all script files that
-have been sourced. There is no equivalent function or variable for this
-(because it's rarely needed). In case you need to manipulate the list this
-code can be used: >
+The `:scriptnames` command can be used to get a list of all script files that
+have been sourced. There is also the `getscriptinfo()` function, but the
+information returned is not exactly the same. In case you need to manipulate
+the output of `scriptnames` this code can be used: >
" Get the output of ":scriptnames" in the scriptnames_output variable.
let scriptnames_output = ''
redir => scriptnames_output