Mercurial > vim
diff runtime/doc/usr_44.txt @ 19116:9b7f90e56753
Update runtime files.
Commit: https://github.com/vim/vim/commit/8024f936368336241406137a2fa78ed5ee9000a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 14 19:29:13 2020 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Jan 2020 19:30:04 +0100 |
parents | af69c9335223 |
children | f8116058ca76 |
line wrap: on
line diff
--- a/runtime/doc/usr_44.txt +++ b/runtime/doc/usr_44.txt @@ -673,21 +673,10 @@ syntax file, earlier in 'runtimepath' wa finish endif -To be compatible with Vim 5.8 use: > - - if version < 600 - syntax clear - elseif exists("b:current_syntax") - finish - endif - Set "b:current_syntax" to the name of the syntax at the end. Don't forget that included files do this too, you might have to reset "b:current_syntax" if you include two files. -If you want your syntax file to work with Vim 5.x, add a check for v:version. -Find an syntax file in the Vim 7.2 distribution for an example. - Do not include anything that is a user preference. Don't set 'tabstop', 'expandtab', etc. These belong in a filetype plugin.