brackets "[]" and braces "{}".
PPWIZARD *ppwiz.vim* *ft-ppwiz-syntax*
PPWizard is a preprocessor for HTML and OS/2 INF files
This syntax file has the options:
- ppwiz_highlight_defs : Determines highlighting mode for PPWizard's
definitions. Possible values are
ppwiz_highlight_defs = 1 : PPWizard #define statements retain the
colors of their contents (e.g. PPWizard macros and variables).
ppwiz_highlight_defs = 2 : Preprocessor #define and #evaluate
statements are shown in a single color with the exception of line
continuation symbols.
The default setting for ppwiz_highlight_defs is 1.
- ppwiz_with_html : If the value is 1 (the default), highlight literal
HTML code; if 0, treat HTML code like ordinary text.
PHTML *phtml.vim* *ft-phtml-syntax*
There are two options for the phtml syntax highlighting.
If you like SQL syntax highlighting inside Strings, use this: >
:let phtml_sql_query = 1
For syncing, minlines defaults to 100. If you prefer another value, you can
set "phtml_minlines" to the value you desire. Example: >
:let phtml_minlines = 200
POSTSCRIPT *postscr.vim* *ft-postscr-syntax*
There are several options when it comes to highlighting PostScript.
First which version of the PostScript language to highlight. There are
currently three defined language versions, or levels. Level 1 is the original
and base version, and includes all extensions prior to the release of level 2.
Level 2 is the most common version around, and includes its own set of
extensions prior to the release of level 3. Level 3 is currently the highest
level supported. You select which level of the PostScript language you want
highlighted by defining the postscr_level variable as follows: >
:let postscr_level=2
If this variable is not defined it defaults to 2 (level 2) since this is
the most prevalent version currently.
Note: Not all PS interpreters will support all language features for a
particular language level. In particular the %!PS-Adobe-3.0 at the start of
PS files does NOT mean the PostScript present is level 3 PostScript!
If you are working with Display PostScript, you can include highlighting of
Display PS language features by defining the postscr_display variable as
follows: >
:let postscr_display=1
If you are working with Ghostscript, you can include highlighting of
Ghostscript specific language features by defining the variable
postscr_ghostscript as follows: >
:let postscr_ghostscript=1
PostScript is a large language, with many predefined elements. While it
useful to have all these elements highlighted, on slower machines this can
cause Vim to slow down. In an attempt to be machine friendly font names and
character encodings are not highlighted by default. Unless you are working
explicitly with either of these this should be ok. If you want them to be
highlighted you should set one or both of the following variables: >
:let postscr_fonts=1
:let postscr_encodings=1
There is a stylistic option to the highlighting of and, or, and not. In
PostScript the function of these operators depends on the types of their
operands - if the operands are booleans then they are the logical operators,
if they are integers then they are binary operators. As binary and logical
operators can be highlighted differently they have to be highlighted one way
or the other. By default they are treated as logical operators. They can be
highlighted as binary operators by defining the variable
postscr_andornot_binary as follows: >
:let postscr_andornot_binary=1
<
*ptcap.vim* *ft-printcap-syntax*
PRINTCAP + TERMCAP *ft-ptcap-syntax* *ft-termcap-syntax*
This syntax file applies to the printcap and termcap databases.
In order for Vim to recognize printcap/termcap files that do not match
the patterns "*printcap*", or "*termcap*", you must put additional patterns
appropriate to your system in your |myfiletypefile| file. For these
patterns, you must set the variable "b:ptcap_type" to either