comparison runtime/doc/syntax.txt @ 36:125e80798a85 v7.0021

updated for version 7.0021
author vimboss
date Thu, 09 Dec 2004 21:34:53 +0000
parents 41f9fd58cf13
children 8ecb0db93e9a
comparison
equal deleted inserted replaced
35:8f3a526c2fe1 36:125e80798a85
1 *syntax.txt* For Vim version 7.0aa. Last change: 2004 Oct 12 1 *syntax.txt* For Vim version 7.0aa. Last change: 2004 Dec 09
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
638 c_syntax_for_h use C syntax for *.h files, instead of C++ 638 c_syntax_for_h use C syntax for *.h files, instead of C++
639 c_no_if0 don't highlight "#if 0" blocks as comments 639 c_no_if0 don't highlight "#if 0" blocks as comments
640 c_no_cformat don't highlight %-formats in strings 640 c_no_cformat don't highlight %-formats in strings
641 c_no_c99 don't highlight C99 standard items 641 c_no_c99 don't highlight C99 standard items
642 642
643 When 'foldmethod' is set to "syntax" then /* */ comments and { } blocks will
644 become a fold. If you don't want comments to become a fold use: >
645 :let c_no_comment_fold = 1
646
643 If you notice highlighting errors while scrolling backwards, which are fixed 647 If you notice highlighting errors while scrolling backwards, which are fixed
644 when redrawing with CTRL-L, try setting the "c_minlines" internal variable 648 when redrawing with CTRL-L, try setting the "c_minlines" internal variable
645 to a larger number: > 649 to a larger number: >
646 :let c_minlines = 100 650 :let c_minlines = 100
647 This will make the syntax synchronization start 100 lines before the first 651 This will make the syntax synchronization start 100 lines before the first
2126 2130
2127 By default only R5RS keywords are highlighted and properly indented. 2131 By default only R5RS keywords are highlighted and properly indented.
2128 2132
2129 MzScheme-specific stuff will be used if b:is_mzscheme or g:is_mzscheme 2133 MzScheme-specific stuff will be used if b:is_mzscheme or g:is_mzscheme
2130 variables are defined. 2134 variables are defined.
2135
2136 Also scheme.vim supports keywords of the Chicken Scheme->C compiler. Define
2137 b:is_chicken or g:is_chicken, if you need them.
2131 2138
2132 2139
2133 SDL *sdl.vim* *sdl-syntax* 2140 SDL *sdl.vim* *sdl-syntax*
2134 2141
2135 The SDL highlighting probably misses a few keywords, but SDL has so many 2142 The SDL highlighting probably misses a few keywords, but SDL has so many