Mercurial > vim
comparison runtime/doc/syntax.txt @ 856:8cd729851562 v7.0g
updated for version 7.0g
author | vimboss |
---|---|
date | Sun, 30 Apr 2006 18:54:39 +0000 |
parents | db44f7b81373 |
children | b933657f7c9d |
comparison
equal
deleted
inserted
replaced
855:d2a4f08396fe | 856:8cd729851562 |
---|---|
1 *syntax.txt* For Vim version 7.0f. Last change: 2006 Apr 27 | 1 *syntax.txt* For Vim version 7.0g. Last change: 2006 Apr 30 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
608 For Visual Basic use: > | 608 For Visual Basic use: > |
609 :let g:filetype_asa = "aspvbs" | 609 :let g:filetype_asa = "aspvbs" |
610 :let g:filetype_asp = "aspvbs" | 610 :let g:filetype_asp = "aspvbs" |
611 | 611 |
612 | 612 |
613 BAAN *baan.vim* *baan-syntax* | 613 BAAN *baan.vim* *baan-syntax* |
614 | 614 |
615 The baan.vim gives syntax support for BaanC of release BaanIV upto SSA ERP LN | 615 The baan.vim gives syntax support for BaanC of release BaanIV upto SSA ERP LN |
616 for both 3 GL and 4 GL programming. Large number of standard defines/constants | 616 for both 3 GL and 4 GL programming. Large number of standard defines/constants |
617 are supported. | 617 are supported. |
618 | 618 |
631 Folding can be enabled at source block level as if, while, for ,... The | 631 Folding can be enabled at source block level as if, while, for ,... The |
632 indentation preceding the begin/end keywords has to match (spaces are not | 632 indentation preceding the begin/end keywords has to match (spaces are not |
633 considered equal to a tab). > | 633 considered equal to a tab). > |
634 let baan_fold_block=1 | 634 let baan_fold_block=1 |
635 Folding can be enabled for embedded SQL blocks as SELECT, SELECTDO, | 635 Folding can be enabled for embedded SQL blocks as SELECT, SELECTDO, |
636 SELECTEMPTY, ... The indentation preceding the begin/end keywords has to | 636 SELECTEMPTY, ... The indentation preceding the begin/end keywords has to |
637 match (spaces are not considered equal to a tab). > | 637 match (spaces are not considered equal to a tab). > |
638 let baan_fold_sql=1 | 638 let baan_fold_sql=1 |
639 Note: Block folding can result in many small folds. It is suggested to |:set| | 639 Note: Block folding can result in many small folds. It is suggested to |:set| |
640 the options 'foldminlines' and 'foldnestmax' in |.vimrc| or use |:setlocal| in | 640 the options 'foldminlines' and 'foldnestmax' in |.vimrc| or use |:setlocal| in |
641 .../after/syntax/baan.vim (see |after-directory|). Eg: > | 641 .../after/syntax/baan.vim (see |after-directory|). Eg: > |
642 set foldminlines=5 | 642 set foldminlines=5 |
643 set foldnestmax=6 | 643 set foldnestmax=6 |
644 | 644 |
925 | 925 |
926 doxygen_javadoc_autobrief 1 Set to 0 to disable javadoc autobrief | 926 doxygen_javadoc_autobrief 1 Set to 0 to disable javadoc autobrief |
927 colour highlighting. | 927 colour highlighting. |
928 | 928 |
929 doxygen_end_punctuation '[.]' Set to regexp match for the ending | 929 doxygen_end_punctuation '[.]' Set to regexp match for the ending |
930 punctuation of brief | 930 punctuation of brief |
931 | 931 |
932 There are also some hilight groups worth mentioning as they can be useful in | 932 There are also some hilight groups worth mentioning as they can be useful in |
933 configuration. | 933 configuration. |
934 | 934 |
935 Highlight Effect ~ | 935 Highlight Effect ~ |
2000 :let perl_fold_blocks = 1 | 2000 :let perl_fold_blocks = 1 |
2001 | 2001 |
2002 To avoid folding packages or subs when perl_fold is let, let the appropriate | 2002 To avoid folding packages or subs when perl_fold is let, let the appropriate |
2003 variable(s): > | 2003 variable(s): > |
2004 | 2004 |
2005 :unlet perl_nofold_packages | 2005 :unlet perl_nofold_packages |
2006 :unlet perl_nofold_subs | 2006 :unlet perl_nofold_subs |
2007 | 2007 |
2008 | 2008 |
2009 | 2009 |
2010 PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax* | 2010 PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax* |
2011 | 2011 |
2062 | 2062 |
2063 PLAINTEX *plaintex.vim* *ft-plaintex-syntax* | 2063 PLAINTEX *plaintex.vim* *ft-plaintex-syntax* |
2064 | 2064 |
2065 TeX is a typesetting language, and plaintex is the file type for the "plain" | 2065 TeX is a typesetting language, and plaintex is the file type for the "plain" |
2066 variant of TeX. If you never want your *.tex files recognized as plain TeX, | 2066 variant of TeX. If you never want your *.tex files recognized as plain TeX, |
2067 see |ft-tex-plugin|. | 2067 see |ft-tex-plugin|. |
2068 | 2068 |
2069 This syntax file has the option > | 2069 This syntax file has the option > |
2070 | 2070 |
2071 let g:plaintex_delimiters = 1 | 2071 let g:plaintex_delimiters = 1 |
2072 | 2072 |
2326 | 2326 |
2327 By default only R5RS keywords are highlighted and properly indented. | 2327 By default only R5RS keywords are highlighted and properly indented. |
2328 | 2328 |
2329 MzScheme-specific stuff will be used if b:is_mzscheme or g:is_mzscheme | 2329 MzScheme-specific stuff will be used if b:is_mzscheme or g:is_mzscheme |
2330 variables are defined. | 2330 variables are defined. |
2331 | 2331 |
2332 Also scheme.vim supports keywords of the Chicken Scheme->C compiler. Define | 2332 Also scheme.vim supports keywords of the Chicken Scheme->C compiler. Define |
2333 b:is_chicken or g:is_chicken, if you need them. | 2333 b:is_chicken or g:is_chicken, if you need them. |
2334 | 2334 |
2335 | 2335 |
2336 SDL *sdl.vim* *ft-sdl-syntax* | 2336 SDL *sdl.vim* *ft-sdl-syntax* |
3743 :syntax sync region .. | 3743 :syntax sync region .. |
3744 | 3744 |
3745 Without a "groupthere" argument. Define a region or match that is | 3745 Without a "groupthere" argument. Define a region or match that is |
3746 skipped while searching for a sync point. | 3746 skipped while searching for a sync point. |
3747 | 3747 |
3748 *syn-sync-linecont* | 3748 *syn-sync-linecont* |
3749 :syntax sync linecont {pattern} | 3749 :syntax sync linecont {pattern} |
3750 | 3750 |
3751 When {pattern} matches in a line, it is considered to continue in | 3751 When {pattern} matches in a line, it is considered to continue in |
3752 the next line. This means that the search for a sync point will | 3752 the next line. This means that the search for a sync point will |
3753 consider the lines to be concatenated. | 3753 consider the lines to be concatenated. |
3849 Note that all settings that are not included remain the same, only the | 3849 Note that all settings that are not included remain the same, only the |
3850 specified field is used, and settings are merged with previous ones. So, the | 3850 specified field is used, and settings are merged with previous ones. So, the |
3851 result is like this single command has been used: > | 3851 result is like this single command has been used: > |
3852 :hi Comment term=bold ctermfg=Cyan guifg=#80a0ff gui=bold | 3852 :hi Comment term=bold ctermfg=Cyan guifg=#80a0ff gui=bold |
3853 < | 3853 < |
3854 *:highlight-verbose* | 3854 *:highlight-verbose* |
3855 When listing a highlight group and 'verbose' is non-zero, the listing will | 3855 When listing a highlight group and 'verbose' is non-zero, the listing will |
3856 also tell where it was last set. Example: > | 3856 also tell where it was last set. Example: > |
3857 :verbose hi Comment | 3857 :verbose hi Comment |
3858 < Comment xxx term=bold ctermfg=4 guifg=Blue ~ | 3858 < Comment xxx term=bold ctermfg=4 guifg=Blue ~ |
3859 Last set from /home/mool/vim/vim7/runtime/syntax/syncolor.vim ~ | 3859 Last set from /home/mool/vim/vim7/runtime/syntax/syncolor.vim ~ |
3860 | 3860 |
3861 When ":hi clear" is used then the script where this command is used will be | 3861 When ":hi clear" is used then the script where this command is used will be |
3862 mentioned for the default values. See |:verbose-cmd| for more information. | 3862 mentioned for the default values. See |:verbose-cmd| for more information. |
3863 | 3863 |
3864 *highlight-args* *E416* *E417* *E423* | 3864 *highlight-args* *E416* *E417* *E423* |