Mercurial > vim
comparison runtime/doc/usr_44.txt @ 11442:d183d629509e
Update runtime files.
commit https://github.com/vim/vim/commit/b4d6c3ea4a59c6d8d4e0e52120596866f0edd510
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 27 16:45:17 2017 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 May 2017 17:00:04 +0200 |
parents | 9f48eab77d62 |
children | 1174611ad715 |
comparison
equal
deleted
inserted
replaced
11441:20ae51fe57de | 11442:d183d629509e |
---|---|
1 *usr_44.txt* For Vim version 8.0. Last change: 2008 Dec 28 | 1 *usr_44.txt* For Vim version 8.0. Last change: 2017 May 06 |
2 | 2 |
3 VIM USER MANUAL - by Bram Moolenaar | 3 VIM USER MANUAL - by Bram Moolenaar |
4 | 4 |
5 Your own syntax highlighted | 5 Your own syntax highlighted |
6 | 6 |
684 Set "b:current_syntax" to the name of the syntax at the end. Don't forget | 684 Set "b:current_syntax" to the name of the syntax at the end. Don't forget |
685 that included files do this too, you might have to reset "b:current_syntax" if | 685 that included files do this too, you might have to reset "b:current_syntax" if |
686 you include two files. | 686 you include two files. |
687 | 687 |
688 If you want your syntax file to work with Vim 5.x, add a check for v:version. | 688 If you want your syntax file to work with Vim 5.x, add a check for v:version. |
689 See yacc.vim for an example. | 689 Find an syntax file in the Vim 7.2 distribution for an example. |
690 | 690 |
691 Do not include anything that is a user preference. Don't set 'tabstop', | 691 Do not include anything that is a user preference. Don't set 'tabstop', |
692 'expandtab', etc. These belong in a filetype plugin. | 692 'expandtab', etc. These belong in a filetype plugin. |
693 | 693 |
694 Do not include mappings or abbreviations. Only include setting 'iskeyword' if | 694 Do not include mappings or abbreviations. Only include setting 'iskeyword' if |