summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_44.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-18 21:55:01 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-18 21:55:01 +0000
commitc1e37901fc8486c9960d7290e521ba51e292e94b (patch)
tree5367e8f83d9d313dd73c0499fd310f57df5e605f /runtime/doc/usr_44.txt
parenta93fa7ee7856b54d3778e613c7b7e4b76aaeb2af (diff)
downloadvim-git-c1e37901fc8486c9960d7290e521ba51e292e94b.tar.gz
updated for version 7.0e02v7.0e02
Diffstat (limited to 'runtime/doc/usr_44.txt')
-rw-r--r--runtime/doc/usr_44.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/usr_44.txt b/runtime/doc/usr_44.txt
index 308337a0a..4c148c424 100644
--- a/runtime/doc/usr_44.txt
+++ b/runtime/doc/usr_44.txt
@@ -1,4 +1,4 @@
-*usr_44.txt* For Vim version 7.0e. Last change: 2006 Mar 27
+*usr_44.txt* For Vim version 7.0e. Last change: 2006 Apr 18
VIM USER MANUAL - by Bram Moolenaar
@@ -667,8 +667,13 @@ the syntax file "name.vim", 'filetype', b:current_syntax the start of each
syntax group (nameType, nameStatement, nameString, etc).
Start with a check for "b:current_syntax". If it is defined, some other
-syntax file, earlier in 'runtimepath' was already loaded. To be compatible
-with Vim 5.8 use: >
+syntax file, earlier in 'runtimepath' was already loaded: >
+
+ if exists("b:current_syntax")
+ finish
+ endif
+
+To be compatible with Vim 5.8 use: >
if version < 600
syntax clear