blob: 756ae415879a0cb7c2cfb7bd5e990fcb8a57c5ab [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001This directory contains Vim scripts for syntax highlighting.
2
3These scripts are not for a language, but are used by Vim itself:
4
5syntax.vim Used for the ":syntax on" command. Uses synload.vim.
6
7manual.vim Used for the ":syntax manual" command. Uses synload.vim.
8
9synload.vim Contains autocommands to load a language file when a certain
10 file name (extension) is used. And sets up the Syntax menu
11 for the GUI.
12
13nosyntax.vim Used for the ":syntax off" command. Undo the loading of
14 synload.vim.
15
Bram Moolenaare1f3fd12022-08-15 18:51:32 +010016The "shared" directory contains generated files and what is used by more than
17one syntax.
18
Bram Moolenaar071d4272004-06-13 20:20:40 +000019
20A few special files:
21
222html.vim Converts any highlighted file to HTML (GUI only).
23colortest.vim Check for color names and actual color on screen.
24hitest.vim View the current highlight settings.
25whitespace.vim View Tabs and Spaces.
26
27
28If you want to write a syntax file, read the docs at ":help usr_44.txt".
29
30If you make a new syntax file which would be useful for others, please send it
Christian Brabandte978b452023-08-13 10:33:05 +020031to the vim-dev mailing list <vim-dev@vim.org>. Include instructions for
32detecting the file type for this language, by file name extension or by
33checking a few lines in the file. And please write the file in a portable way,
34see ":help 44.12".
Bram Moolenaar071d4272004-06-13 20:20:40 +000035
36If you have remarks about an existing file, send them to the maintainer of
Christian Brabandt16889382023-08-13 17:53:07 +020037that file. Only when you get no response send a message to the vim-dev
38mailing list: <vim-dev@vim.org>.
Bram Moolenaar071d4272004-06-13 20:20:40 +000039
40If you are the maintainer of a syntax file and make improvements, send the new
Christian Brabandt16889382023-08-13 17:53:07 +020041version to the vim-dev mailing list: <vim-dev@vim.org>
Bram Moolenaar071d4272004-06-13 20:20:40 +000042
43For further info see ":help syntax" in Vim.