Mercurial > vim
comparison runtime/doc/syntax.txt @ 4186:7ffc704cb7c1
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 07 Mar 2013 13:20:54 +0100 |
parents | e362db8b2d7b |
children | fa4089df54bc |
comparison
equal
deleted
inserted
replaced
4185:651e484a8f48 | 4186:7ffc704cb7c1 |
---|---|
1 *syntax.txt* For Vim version 7.3. Last change: 2013 Jan 30 | 1 *syntax.txt* For Vim version 7.3. Last change: 2013 Mar 01 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
997 :let html_wrong_comments = 1 | 997 :let html_wrong_comments = 1 |
998 | 998 |
999 The ColdFusion syntax file is based on the HTML syntax file. | 999 The ColdFusion syntax file is based on the HTML syntax file. |
1000 | 1000 |
1001 | 1001 |
1002 CPP *cpp.vim* *ft-cpp-syntax* | |
1003 | |
1004 Most of things are same as |ft-c-syntax|. | |
1005 | |
1006 Variable Highlight ~ | |
1007 cpp_no_c11 don't highlight C++11 standard items | |
1008 | |
1009 | |
1002 CSH *csh.vim* *ft-csh-syntax* | 1010 CSH *csh.vim* *ft-csh-syntax* |
1003 | 1011 |
1004 This covers the shell named "csh". Note that on some systems tcsh is actually | 1012 This covers the shell named "csh". Note that on some systems tcsh is actually |
1005 used. | 1013 used. |
1006 | 1014 |
2438 :let filetype_p = "progress" | 2446 :let filetype_p = "progress" |
2439 | 2447 |
2440 | 2448 |
2441 PYTHON *python.vim* *ft-python-syntax* | 2449 PYTHON *python.vim* *ft-python-syntax* |
2442 | 2450 |
2443 There are four options to control Python syntax highlighting. | 2451 There are six options to control Python syntax highlighting. |
2444 | 2452 |
2445 For highlighted numbers: > | 2453 For highlighted numbers: > |
2446 :let python_highlight_numbers = 1 | 2454 :let python_no_number_highlight = 1 |
2447 | 2455 |
2448 For highlighted builtin functions: > | 2456 For highlighted builtin functions: > |
2449 :let python_highlight_builtins = 1 | 2457 :let python_no_builtin_highlight = 1 |
2450 | 2458 |
2451 For highlighted standard exceptions: > | 2459 For highlighted standard exceptions: > |
2452 :let python_highlight_exceptions = 1 | 2460 :let python_no_exception_highlight = 1 |
2461 | |
2462 For highlighted doctests and code inside: > | |
2463 :let python_no_doctest_highlight = 1 | |
2464 or > | |
2465 :let python_no_doctest_code_highlight = 1 | |
2466 (first option implies second one). | |
2453 | 2467 |
2454 For highlighted trailing whitespace and mix of spaces and tabs: > | 2468 For highlighted trailing whitespace and mix of spaces and tabs: > |
2455 :let python_highlight_space_errors = 1 | 2469 :let python_space_error_highlight = 1 |
2456 | 2470 |
2457 If you want all possible Python highlighting (the same as setting the | 2471 If you want all possible Python highlighting (the same as setting the |
2458 preceding three options): > | 2472 preceding last option and unsetting all other ones): > |
2459 :let python_highlight_all = 1 | 2473 :let python_highlight_all = 1 |
2474 | |
2475 Note: only existence of these options matter, not their value. You can replace | |
2476 1 above with anything. | |
2460 | 2477 |
2461 | 2478 |
2462 QUAKE *quake.vim* *ft-quake-syntax* | 2479 QUAKE *quake.vim* *ft-quake-syntax* |
2463 | 2480 |
2464 The Quake syntax definition should work for most any FPS (First Person | 2481 The Quake syntax definition should work for most any FPS (First Person |