Skip to content

Commit 539349c

Browse files
nisbet-hubbardchrisbra
authored andcommitted
runtime(doc): improve the :colorscheme documentation
closes: #15871 Signed-off-by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent c73fc86 commit 539349c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

runtime/doc/syntax.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 13
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5309,12 +5309,15 @@ of colors by using the `:colorscheme` command, for example: >
53095309
This is basically the same as >
53105310
:echo g:colors_name
53115311
< In case g:colors_name has not been defined :colo will
5312-
output "default". When compiled without the |+eval|
5313-
feature it will output "unknown".
5312+
output "default". Its palette is defined in the file
5313+
"$VIMRUNTIME/syntax/syncolor.vim" and is based on
5314+
legacy versions of peachpuff and desert. When compiled
5315+
without the |+eval| feature it will output "unknown".
53145316

53155317
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
53165318
for the file "colors/{name}.vim". The first one that
53175319
is found is loaded.
5320+
Use `:colo default` to load the default colorscheme.
53185321
Also searches all plugins in 'packpath', first below
53195322
"start" and then under "opt".
53205323

0 commit comments

Comments
 (0)