Mercurial > vim
diff runtime/doc/syntax.txt @ 18972:130acb903dbe
Update runtime files.
Commit: https://github.com/vim/vim/commit/5666fcd0bd794dd46813824cce63a38bcae63794
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 26 14:35:26 2019 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 Dec 2019 14:45:08 +0100 |
parents | 180a1c5175f6 |
children | 9b7f90e56753 |
line wrap: on
line diff
--- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -79,9 +79,9 @@ with: > For a color terminal see |:hi-normal-cterm|. For setting up your own colors syntax highlighting see |syncolor|. -NOTE: The syntax files on MS-DOS and Windows have lines that end in <CR><NL>. +NOTE: The syntax files on MS-Windows have lines that end in <CR><NL>. The files for Unix end in <NL>. This means you should use the right type of -file for your system. Although on MS-DOS and Windows the right format is +file for your system. Although on MS-Windows the right format is automatically selected if the 'fileformats' option is not empty. NOTE: When using reverse video ("gvim -fg white -bg black"), the default value @@ -4827,7 +4827,7 @@ mentioned for the default values. See |: *highlight-args* *E416* *E417* *E423* There are three types of terminals for highlighting: term a normal terminal (vt100, xterm) -cterm a color terminal (MS-DOS console, color-xterm, these have the "Co" +cterm a color terminal (MS-Windows console, color-xterm, these have the "Co" termcap entry) gui the GUI @@ -4914,9 +4914,9 @@ ctermbg={color-nr} *highlight-ctermbg Unfortunately this means that it's not possible to get the same colors for each user. See |xterm-color| for info about color xterms. - The MSDOS standard colors are fixed (in a console window), so these - have been used for the names. But the meaning of color names in X11 - are fixed, so these color settings have been used, to make the + The MS-Windows standard colors are fixed (in a console window), so + these have been used for the names. But the meaning of color names in + X11 are fixed, so these color settings have been used, to make the highlighting settings portable (complicated, isn't it?). The following names are recognized, with the color number used: @@ -4981,8 +4981,8 @@ ctermbg={color-nr} *highlight-ctermbg *E419* *E420* When Vim knows the normal foreground and background colors, "fg" and "bg" can be used as color names. This only works after setting the - colors for the Normal group and for the MS-DOS console. Example, for - reverse video: > + colors for the Normal group and for the MS-Windows console. Example, + for reverse video: > :highlight Visual ctermfg=bg ctermbg=fg < Note that the colors are used that are valid at the moment this command are given. If the Normal group colors are changed later, the