Mercurial > vim
comparison runtime/doc/syntax.txt @ 16208:a23c883685cb
Update runtime files.
commit https://github.com/vim/vim/commit/723dd946f94856be94a943876945fb1bd8169059
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 4 13:11:03 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Apr 2019 13:15:07 +0200 |
parents | 9d3d7b0f4861 |
children | 96e93765d0d6 |
comparison
equal
deleted
inserted
replaced
16207:7e3a172a7f09 | 16208:a23c883685cb |
---|---|
1 *syntax.txt* For Vim version 8.1. Last change: 2018 Dec 27 | 1 *syntax.txt* For Vim version 8.1. Last change: 2019 Mar 29 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
1960 < | 1960 < |
1961 The g:lisp_rainbow option provides 10 levels of individual colorization for | 1961 The g:lisp_rainbow option provides 10 levels of individual colorization for |
1962 the parentheses and backquoted parentheses. Because of the quantity of | 1962 the parentheses and backquoted parentheses. Because of the quantity of |
1963 colorization levels, unlike non-rainbow highlighting, the rainbow mode | 1963 colorization levels, unlike non-rainbow highlighting, the rainbow mode |
1964 specifies its highlighting using ctermfg and guifg, thereby bypassing the | 1964 specifies its highlighting using ctermfg and guifg, thereby bypassing the |
1965 usual colorscheme control using standard highlighting groups. The actual | 1965 usual color scheme control using standard highlighting groups. The actual |
1966 highlighting used depends on the dark/bright setting (see |'bg'|). | 1966 highlighting used depends on the dark/bright setting (see |'bg'|). |
1967 | 1967 |
1968 | 1968 |
1969 LITE *lite.vim* *ft-lite-syntax* | 1969 LITE *lite.vim* *ft-lite-syntax* |
1970 | 1970 |
4692 "start" and then under "opt". | 4692 "start" and then under "opt". |
4693 | 4693 |
4694 Doesn't work recursively, thus you can't use | 4694 Doesn't work recursively, thus you can't use |
4695 ":colorscheme" in a color scheme script. | 4695 ":colorscheme" in a color scheme script. |
4696 | 4696 |
4697 To customize a colorscheme use another name, e.g. | 4697 To customize a color scheme use another name, e.g. |
4698 "~/.vim/colors/mine.vim", and use `:runtime` to load | 4698 "~/.vim/colors/mine.vim", and use `:runtime` to load |
4699 the original colorscheme: > | 4699 the original color scheme: > |
4700 runtime colors/evening.vim | 4700 runtime colors/evening.vim |
4701 hi Statement ctermfg=Blue guifg=Blue | 4701 hi Statement ctermfg=Blue guifg=Blue |
4702 | 4702 |
4703 < Before the color scheme will be loaded the | 4703 < Before the color scheme will be loaded the |
4704 |ColorSchemePre| autocommand event is triggered. | 4704 |ColorSchemePre| autocommand event is triggered. |
4705 After the color scheme has been loaded the | 4705 After the color scheme has been loaded the |
4706 |ColorScheme| autocommand event is triggered. | 4706 |ColorScheme| autocommand event is triggered. |
4707 For info about writing a colorscheme file: > | 4707 For info about writing a color scheme file: > |
4708 :edit $VIMRUNTIME/colors/README.txt | 4708 :edit $VIMRUNTIME/colors/README.txt |
4709 | 4709 |
4710 :hi[ghlight] List all the current highlight groups that have | 4710 :hi[ghlight] List all the current highlight groups that have |
4711 attributes set. | 4711 attributes set. |
4712 | 4712 |
4899 'background' option will be adjusted automatically, under the | 4899 'background' option will be adjusted automatically, under the |
4900 condition that the color is recognized and 'background' was not set | 4900 condition that the color is recognized and 'background' was not set |
4901 explicitly. This causes the highlight groups that depend on | 4901 explicitly. This causes the highlight groups that depend on |
4902 'background' to change! This means you should set the colors for | 4902 'background' to change! This means you should set the colors for |
4903 Normal first, before setting other colors. | 4903 Normal first, before setting other colors. |
4904 When a colorscheme is being used, changing 'background' causes it to | 4904 When a color scheme is being used, changing 'background' causes it to |
4905 be reloaded, which may reset all colors (including Normal). First | 4905 be reloaded, which may reset all colors (including Normal). First |
4906 delete the "g:colors_name" variable when you don't want this. | 4906 delete the "g:colors_name" variable when you don't want this. |
4907 | 4907 |
4908 When you have set "ctermfg" or "ctermbg" for the Normal group, Vim | 4908 When you have set "ctermfg" or "ctermbg" for the Normal group, Vim |
4909 needs to reset the color when exiting. This is done with the "op" | 4909 needs to reset the color when exiting. This is done with the "op" |