aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/quickfix.txt2
-rw-r--r--runtime/doc/repeat.txt12
-rw-r--r--runtime/doc/syntax.txt4
3 files changed, 9 insertions, 9 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 7a1649a74b..0bf04034ec 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1246,7 +1246,7 @@ not "b:current_compiler". What the command actually does is the following:
- Delete the "current_compiler" and "b:current_compiler" variables.
- Define the "CompilerSet" user command. With "!" it does ":set", without "!"
it does ":setlocal".
-- Execute ":runtime! compiler/{name}.(vim|lua)". The plugins are expected to
+- Execute ":runtime! compiler/{name}.{vim,lua}". The plugins are expected to
set options with "CompilerSet" and set the "current_compiler" variable to the
name of the compiler.
- Delete the "CompilerSet" user command.
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.
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 09c935cb9b..631e666b6a 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -4895,8 +4895,8 @@ in their own color.
output "default".
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
- for the file "colors/{name}.(vim|lua)". The first one that
- is found is loaded.
+ for the file "colors/{name}.{vim,lua}". The first one
+ that is found is loaded.
Note: "colors/{name}.vim" is tried first.
Also searches all plugins in 'packpath', first below
"start" and then under "opt".