comparison runtime/doc/syntax.txt @ 3356:b37888de599c

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Mon, 13 Feb 2012 00:05:22 +0100
parents af1e8a1714c2
children 2cfb68fa26cd
comparison
equal deleted inserted replaced
3355:dc3afe60fdf2 3356:b37888de599c
1 *syntax.txt* For Vim version 7.3. Last change: 2012 Jan 20 1 *syntax.txt* For Vim version 7.3. Last change: 2012 Feb 11
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
984 Example: > 984 Example: >
985 :set syntax=c.doxygen 985 :set syntax=c.doxygen
986 or > 986 or >
987 // vim:syntax=c.doxygen 987 // vim:syntax=c.doxygen
988 988
989 It can also be done automatically for C, C++, C# and IDL files by setting the 989 It can also be done automatically for C, C++, C#, IDL and PHP files by setting
990 global or buffer-local variable load_doxygen_syntax. This is done by adding 990 the global or buffer-local variable load_doxygen_syntax. This is done by
991 the following to your .vimrc. > 991 adding the following to your .vimrc. >
992 :let g:load_doxygen_syntax=1 992 :let g:load_doxygen_syntax=1
993 993
994 There are a couple of variables that have an effect on syntax highlighting, and 994 There are a couple of variables that have an effect on syntax highlighting, and
995 are to do with non-standard highlighting options. 995 are to do with non-standard highlighting options.
996 996
1740 instead, and the name of your source file should be *.pike 1740 instead, and the name of your source file should be *.pike
1741 1741
1742 1742
1743 LUA *lua.vim* *ft-lua-syntax* 1743 LUA *lua.vim* *ft-lua-syntax*
1744 1744
1745 This syntax file may be used for Lua 4.0, Lua 5.0 or Lua 5.1 (the latter is 1745 The Lua syntax file can be used for versions 4.0, 5.0, 5.1 and 5.2 (5.2 is
1746 the default). You can select one of these versions using the global variables 1746 the default). You can select one of these versions using the global variables
1747 lua_version and lua_subversion. For example, to activate Lua 1747 lua_version and lua_subversion. For example, to activate Lua
1748 4.0 syntax highlighting, use this command: > 1748 5.1 syntax highlighting, set the variables like this:
1749
1750 :let lua_version = 4
1751
1752 If you are using Lua 5.0, use these commands: >
1753
1754 :let lua_version = 5
1755 :let lua_subversion = 0
1756
1757 To restore highlighting for Lua 5.1: >
1758 1749
1759 :let lua_version = 5 1750 :let lua_version = 5
1760 :let lua_subversion = 1 1751 :let lua_subversion = 1
1761 1752
1762 1753