Mercurial > vim
comparison runtime/doc/syntax.txt @ 2152:b9e314fe473f
Updated runtime files.
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Fri, 14 May 2010 23:24:24 +0200 |
parents | de5a43c5eedc |
children | 7c8c7c95a865 |
comparison
equal
deleted
inserted
replaced
2151:ae22c450546c | 2152:b9e314fe473f |
---|---|
1 *syntax.txt* For Vim version 7.2. Last change: 2009 Dec 19 | 1 *syntax.txt* For Vim version 7.2. Last change: 2010 May 14 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3869 :so $VIMRUNTIME/syntax/hitest.vim | 3869 :so $VIMRUNTIME/syntax/hitest.vim |
3870 This will open a new window containing all highlight group names, displayed | 3870 This will open a new window containing all highlight group names, displayed |
3871 in their own color. | 3871 in their own color. |
3872 | 3872 |
3873 *:colo* *:colorscheme* *E185* | 3873 *:colo* *:colorscheme* *E185* |
3874 :colo[rscheme] Output the name of the currently active color scheme. | |
3875 This is basically the same as > | |
3876 :echo g:colors_name | |
3877 < In case g:colors_name has not been defined :colo will | |
3878 output "default". When compiled without the |+eval| | |
3879 feature it will output "unknown". | |
3880 | |
3874 :colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath' | 3881 :colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath' |
3875 for the file "colors/{name}.vim. The first one that | 3882 for the file "colors/{name}.vim. The first one that |
3876 is found is loaded. | 3883 is found is loaded. |
3877 To see the name of the currently active color scheme: > | 3884 To see the name of the currently active color scheme: > |
3878 :echo g:colors_name | 3885 :colo |
3879 < When using the default colors you will get an E121 | 3886 < The name is also stored in the g:colors_name variable. |
3880 error. | |
3881 Doesn't work recursively, thus you can't use | 3887 Doesn't work recursively, thus you can't use |
3882 ":colorscheme" in a color scheme script. | 3888 ":colorscheme" in a color scheme script. |
3883 After the color scheme has been loaded the | 3889 After the color scheme has been loaded the |
3884 |ColorScheme| autocommand event is triggered. | 3890 |ColorScheme| autocommand event is triggered. |
3885 For info about writing a colorscheme file: > | 3891 For info about writing a colorscheme file: > |