Mercurial > vim
comparison runtime/doc/syntax.txt @ 2207:b17bbfa96fa0 vim73
Add the settabvar() and gettabvar() functions.
Various runtime file updates.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 22 May 2010 15:37:44 +0200 |
parents | c6f1aa1e9f32 |
children | dc2e5ec0500d |
comparison
equal
deleted
inserted
replaced
2206:a8afba7027ae | 2207:b17bbfa96fa0 |
---|---|
710 | 710 |
711 If you see '{' and '}' highlighted as an error where they are OK, reset the | 711 If you see '{' and '}' highlighted as an error where they are OK, reset the |
712 highlighting for cErrInParen and cErrInBracket. | 712 highlighting for cErrInParen and cErrInBracket. |
713 | 713 |
714 If you want to use folding in your C files, you can add these lines in a file | 714 If you want to use folding in your C files, you can add these lines in a file |
715 an the "after" directory in 'runtimepath'. For Unix this would be | 715 in the "after" directory in 'runtimepath'. For Unix this would be |
716 ~/.vim/after/syntax/c.vim. > | 716 ~/.vim/after/syntax/c.vim. > |
717 syn sync fromstart | 717 syn sync fromstart |
718 set foldmethod=syntax | 718 set foldmethod=syntax |
719 | 719 |
720 CH *ch.vim* *ft-ch-syntax* | 720 CH *ch.vim* *ft-ch-syntax* |
903 It can also be done automatically for c, cpp and idl files by setting the | 903 It can also be done automatically for c, cpp and idl files by setting the |
904 global or buffer-local variable load_doxygen_syntax. This is done by adding | 904 global or buffer-local variable load_doxygen_syntax. This is done by adding |
905 the following to your .vimrc. > | 905 the following to your .vimrc. > |
906 :let g:load_doxygen_syntax=1 | 906 :let g:load_doxygen_syntax=1 |
907 | 907 |
908 There are a couple of variables that have an affect on syntax highlighting, and | 908 There are a couple of variables that have an effect on syntax highlighting, and |
909 are to do with non-standard highlighting options. | 909 are to do with non-standard highlighting options. |
910 | 910 |
911 Variable Default Effect ~ | 911 Variable Default Effect ~ |
912 g:doxygen_enhanced_color | 912 g:doxygen_enhanced_color |
913 g:doxygen_enhanced_colour 0 Use non-standard highlighting for | 913 g:doxygen_enhanced_colour 0 Use non-standard highlighting for |