aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/repeat.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-14 06:46:16 +0800
committerGitHub <noreply@github.com>2023-07-14 06:46:16 +0800
commitdbb840da01c72d8a311e0c55d3248d78a64b63a4 (patch)
tree36a381283d42f6e23d552c3ed8e06b03b9fed51b /runtime/doc/repeat.txt
parenta3f4598226c4d01e4fbc41181a1ad21793862fe3 (diff)
downloadrneovim-dbb840da01c72d8a311e0c55d3248d78a64b63a4.tar.gz
rneovim-dbb840da01c72d8a311e0c55d3248d78a64b63a4.tar.bz2
rneovim-dbb840da01c72d8a311e0c55d3248d78a64b63a4.zip
fix(runtime): respect 'rtp' order for all runtime files (#24335)
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r--runtime/doc/repeat.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index a66d77910b..53f6904170 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -225,15 +225,15 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
When {file} contains wildcards it is expanded to all
matching files. Example: >
- :runtime! plugin/**/*.vim
-< This is what Vim uses to load the plugin files when
+ :runtime! plugin/**/*.{vim,lua}
+< This is what Nvim uses to load the plugin files when
starting up. This similar command: >
- :runtime plugin/**/*.vim
+ :runtime plugin/**/*.{vim,lua}
< would source the first file only.
- For each {file} pattern, if a file has both a `.vim`
- and `.lua` extensions, the `.vim` version will be sourced
- first.
+ For each {file} pattern, if two `.vim` and `.lua` file
+ names match and differ only in extension, the `.vim`
+ file is sourced first.
When 'verbose' is one or higher, there is a message
when no file could be found.