mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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>
This commit is contained in:
committed by
Christian Brabandt
parent
c73fc86bf8
commit
539349cb32
@@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 13
|
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -5309,12 +5309,15 @@ of colors by using the `:colorscheme` command, for example: >
|
|||||||
This is basically the same as >
|
This is basically the same as >
|
||||||
:echo g:colors_name
|
:echo g:colors_name
|
||||||
< In case g:colors_name has not been defined :colo will
|
< In case g:colors_name has not been defined :colo will
|
||||||
output "default". When compiled without the |+eval|
|
output "default". Its palette is defined in the file
|
||||||
feature it will output "unknown".
|
"$VIMRUNTIME/syntax/syncolor.vim" and is based on
|
||||||
|
legacy versions of peachpuff and desert. When compiled
|
||||||
|
without the |+eval| feature it will output "unknown".
|
||||||
|
|
||||||
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
|
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
|
||||||
for the file "colors/{name}.vim". The first one that
|
for the file "colors/{name}.vim". The first one that
|
||||||
is found is loaded.
|
is found is loaded.
|
||||||
|
Use `:colo default` to load the default colorscheme.
|
||||||
Also searches all plugins in 'packpath', first below
|
Also searches all plugins in 'packpath', first below
|
||||||
"start" and then under "opt".
|
"start" and then under "opt".
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user