comparison runtime/doc/syntax.txt @ 3237:91e53bcb7946

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Fri, 30 Dec 2011 13:11:27 +0100
parents 8b8ef1fed009
children ba708ee8d69d
comparison
equal deleted inserted replaced
3236:12a5ea0526b1 3237:91e53bcb7946
1 *syntax.txt* For Vim version 7.3. Last change: 2011 Nov 26 1 *syntax.txt* For Vim version 7.3. Last change: 2011 Dec 30
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1601 Debug, DebugSpecial, DebugString, DebugBoolean, DebugType 1601 Debug, DebugSpecial, DebugString, DebugBoolean, DebugType
1602 which are used for the statement itself, special characters used in debug 1602 which are used for the statement itself, special characters used in debug
1603 strings, strings, boolean constants and types (this, super) respectively. I 1603 strings, strings, boolean constants and types (this, super) respectively. I
1604 have opted to chose another background for those statements. 1604 have opted to chose another background for those statements.
1605 1605
1606 In order to help you write code that can be easily ported between Java and
1607 C++, all C++ keywords can be marked as an error in a Java program. To
1608 have this add this line in your .vimrc file: >
1609 :let java_allow_cpp_keywords = 0
1610
1611 Javadoc is a program that takes special comments out of Java program files and 1606 Javadoc is a program that takes special comments out of Java program files and
1612 creates HTML pages. The standard configuration will highlight this HTML code 1607 creates HTML pages. The standard configuration will highlight this HTML code
1613 similarly to HTML files (see |html.vim|). You can even add Javascript 1608 similarly to HTML files (see |html.vim|). You can even add Javascript
1614 and CSS inside this code (see below). There are four differences however: 1609 and CSS inside this code (see below). There are four differences however:
1615 1. The title (all characters up to the first '.' which is followed by 1610 1. The title (all characters up to the first '.' which is followed by
2773 LaTeX is a programmable language, and so there are thousands of packages full 2768 LaTeX is a programmable language, and so there are thousands of packages full
2774 of specialized LaTeX commands, syntax, and fonts. If you're using such a 2769 of specialized LaTeX commands, syntax, and fonts. If you're using such a
2775 package you'll often wish that the distributed syntax/tex.vim would support 2770 package you'll often wish that the distributed syntax/tex.vim would support
2776 it. However, clearly this is impractical. So please consider using the 2771 it. However, clearly this is impractical. So please consider using the
2777 techniques in |mysyntaxfile-add| to extend or modify the highlighting provided 2772 techniques in |mysyntaxfile-add| to extend or modify the highlighting provided
2778 by syntax/tex.vim. 2773 by syntax/tex.vim. Please consider uploading any extensions that you write,
2774 which typically would go in $HOME/after/syntax/tex/[pkgname].vim, to
2775 http://vim.sf.net/.
2779 2776
2780 *tex-error* 2777 *tex-error*
2781 Tex: Excessive Error Highlighting? ~ 2778 Tex: Excessive Error Highlighting? ~
2782 2779
2783 The <tex.vim> supports lexical error checking of various sorts. Thus, 2780 The <tex.vim> supports lexical error checking of various sorts. Thus,