summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_44.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-14 19:29:13 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-14 19:29:13 +0100
commit8024f936368336241406137a2fa78ed5ee9000a6 (patch)
treeabbc48a380920496fb8e1d1cbb7f2af3f6f41b98 /runtime/doc/usr_44.txt
parentee93b737aaa7bf65edc7281f429dd89fcf657a6f (diff)
downloadvim-git-8024f936368336241406137a2fa78ed5ee9000a6.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/doc/usr_44.txt')
-rw-r--r--runtime/doc/usr_44.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/doc/usr_44.txt b/runtime/doc/usr_44.txt
index 82d9904cd..61f9b2fd8 100644
--- a/runtime/doc/usr_44.txt
+++ b/runtime/doc/usr_44.txt
@@ -673,21 +673,10 @@ syntax file, earlier in 'runtimepath' was already loaded: >
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.