comparison runtime/doc/syntax.txt @ 6421:5d89d9b40499

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Sat, 06 Dec 2014 23:33:00 +0100
parents bd18da914be9
children 11d78e58a487
comparison
equal deleted inserted replaced
6420:4604a182f04c 6421:5d89d9b40499
1 *syntax.txt* For Vim version 7.4. Last change: 2014 Sep 27 1 *syntax.txt* For Vim version 7.4. Last change: 2014 Nov 19
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
5063 This will set the "w:current_syntax" variable to "foo". The value of 5063 This will set the "w:current_syntax" variable to "foo". The value of
5064 "b:current_syntax" does not change. This is implemented by saving and 5064 "b:current_syntax" does not change. This is implemented by saving and
5065 restoring "b:current_syntax", since the syntax files do set 5065 restoring "b:current_syntax", since the syntax files do set
5066 "b:current_syntax". The value set by the syntax file is assigned to 5066 "b:current_syntax". The value set by the syntax file is assigned to
5067 "w:current_syntax". 5067 "w:current_syntax".
5068 Note: This resets the 'spell', 'spellcapcheck' and 'spellfile' options.
5068 5069
5069 Once a window has its own syntax, syntax commands executed from other windows 5070 Once a window has its own syntax, syntax commands executed from other windows
5070 on the same buffer (including :syntax clear) have no effect. Conversely, 5071 on the same buffer (including :syntax clear) have no effect. Conversely,
5071 syntax commands executed from that window do not affect other windows on the 5072 syntax commands executed from that window do not affect other windows on the
5072 same buffer. 5073 same buffer.