comparison runtime/doc/syntax.txt @ 7228:873eae260c97

commit https://github.com/vim/vim/commit/b4ff518d95aa57c2f8c0568c915035bef849581b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 10 21:15:48 2015 +0100 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Nov 2015 21:30:05 +0100
parents ffad29dc7eee
children aea5ebf352c4
comparison
equal deleted inserted replaced
7227:28f3b34d076f 7228:873eae260c97
1 *syntax.txt* For Vim version 7.4. Last change: 2015 Oct 17 1 *syntax.txt* For Vim version 7.4. Last change: 2015 Nov 05
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1080 1080
1081 Most of things are same as |ft-c-syntax|. 1081 Most of things are same as |ft-c-syntax|.
1082 1082
1083 Variable Highlight ~ 1083 Variable Highlight ~
1084 cpp_no_cpp11 don't highlight C++11 standard items 1084 cpp_no_cpp11 don't highlight C++11 standard items
1085 cpp_no_cpp14 don't highlight C++14 standard items
1085 1086
1086 1087
1087 CSH *csh.vim* *ft-csh-syntax* 1088 CSH *csh.vim* *ft-csh-syntax*
1088 1089
1089 This covers the shell named "csh". Note that on some systems tcsh is actually 1090 This covers the shell named "csh". Note that on some systems tcsh is actually
4163 example, for instance, can be done like this: > 4164 example, for instance, can be done like this: >
4164 :syn region hereDoc start="<<\z(\I\i*\)" end="^\z1$" 4165 :syn region hereDoc start="<<\z(\I\i*\)" end="^\z1$"
4165 4166
4166 As can be seen here, the \z actually does double duty. In the start pattern, 4167 As can be seen here, the \z actually does double duty. In the start pattern,
4167 it marks the "\(\I\i*\)" sub-expression as external; in the end pattern, it 4168 it marks the "\(\I\i*\)" sub-expression as external; in the end pattern, it
4168 changes the \1 back-reference into an external reference referring to the 4169 changes the \z1 back-reference into an external reference referring to the
4169 first external sub-expression in the start pattern. External references can 4170 first external sub-expression in the start pattern. External references can
4170 also be used in skip patterns: > 4171 also be used in skip patterns: >
4171 :syn region foo start="start \(\I\i*\)" skip="not end \z1" end="end \z1" 4172 :syn region foo start="start \(\I\i*\)" skip="not end \z1" end="end \z1"
4172 4173
4173 Note that normal and external sub-expressions are completely orthogonal and 4174 Note that normal and external sub-expressions are completely orthogonal and