runtime(doc): improve the :colorscheme documentation Commit: https://github.com/vim/vim/commit/539349cb32323a1bf94f06592c96b1064fb6e966 Author: nisbet-hubbard <87453615+nisbet-hubb...@users.noreply.github.com> Date: Sun Oct 20 10:47:10 2024 +0200
runtime(doc): improve the :colorscheme documentation closes: https://github.com/vim/vim/issues/15871 Signed-off-by: nisbet-hubbard <87453615+nisbet-hubb...@users.noreply.github.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 1c66042cc..496093d11 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -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 @@ -5309,12 +5309,15 @@ of colors by using the `:colorscheme` command, for example: > This is basically the same as > :echo g:colors_name < In case g:colors_name has not been defined :colo will - output "default". When compiled without the |+eval| - feature it will output "unknown". + output "default". Its palette is defined in the file + "$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' for the file "colors/{name}.vim". The first one that is found is loaded. + Use `:colo default` to load the default colorscheme. Also searches all plugins in 'packpath', first below "start" and then under "opt". -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1t2RnD-00CHhB-AR%40256bit.org.