aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/repeat.txt
diff options
context:
space:
mode:
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.