summaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-04-15 21:13:42 +0000
committerBram Moolenaar <Bram@vim.org>2005-04-15 21:13:42 +0000
commit13fcaaf1954e9f0d5aa53a55084e01b2c2741202 (patch)
tree526724d830562d07e6ecb2cde83aa8323070ae15 /runtime/syntax
parent402d2fea7025356c7abcb891017a1b7ddf99cbbf (diff)
downloadvim-git-13fcaaf1954e9f0d5aa53a55084e01b2c2741202.tar.gz
updated for version 7.0066v7.0066
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/help.vim8
-rw-r--r--runtime/syntax/icemenu.vim6
-rw-r--r--runtime/syntax/vimspell.vim34
3 files changed, 7 insertions, 41 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 0e7a550d3..d363d8889 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Vim help file
" Maintainer: Bram Moolenaar (Bram@vim.org)
-" Last Change: 2004 May 17
+" Last Change: 2005 Mar 31
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -111,9 +111,9 @@ syn match helpTodo "\t[* ]Todo\t\+[a-z].*"
" Additionally load a language-specific syntax file "help_ab.vim".
-let i = match(expand("%"), '\.\a\ax$')
-if i > 0
- exe "runtime syntax/help_" . strpart(expand("%"), i + 1, 2) . ".vim"
+let s:i = match(expand("%"), '\.\a\ax$')
+if s:i > 0
+ exe "runtime syntax/help_" . strpart(expand("%"), s:i + 1, 2) . ".vim"
endif
syn sync minlines=40
diff --git a/runtime/syntax/icemenu.vim b/runtime/syntax/icemenu.vim
index 99109388a..d3a733d57 100644
--- a/runtime/syntax/icemenu.vim
+++ b/runtime/syntax/icemenu.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Icewm Menu
-" Maintainer: James Mahler <jmahler@purdue.edu>
-" Last Change: Tue Dec 9 21:08:22 EST 2003
+" Maintainer: James Mahler <James.Mahler@gmail.com>
+" Last Change: Fri Apr 1 15:13:48 EST 2005
" Extensions: ~/.icewm/menu
" Comment: Icewm is a lightweight window manager. This adds syntax
" highlighting when editing your user's menu file (~/.icewm/menu).
@@ -9,7 +9,7 @@
" clear existing syntax
if version < 600
syntax clear
-elseif exists("bLcurrent_syntax")
+elseif exists("b:current_syntax")
finish
endif
diff --git a/runtime/syntax/vimspell.vim b/runtime/syntax/vimspell.vim
deleted file mode 100644
index 4c4149bdd..000000000
--- a/runtime/syntax/vimspell.vim
+++ /dev/null
@@ -1,34 +0,0 @@
-" Vim syntax file
-" Language: Vim spell file
-" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2005 Mar 24
-
-" Quit when a syntax file was already loaded
-if exists("b:current_syntax")
- finish
-endif
-
-syn match vimspellError ".*"
-syn match vimspellRegion "^---$"
-syn match vimspellRegion "^\(-\l\l\)\+$"
-syn match vimspellOK "^!\=[>+]\=[[:alpha:]].*"
-syn match vimspellOK "^!\=+\S*"
-syn match vimspellError "\s\+$"
-syn match vimspellOK "^$"
-syn match vimspellComment "^#.*"
-
-" Define the default highlighting.
-" Only when an item doesn't have highlighting yet
-if version >= 508 || !exists("did_diff_syntax_inits")
- command -nargs=+ HiLink hi def link <args>
-
- HiLink vimspellComment Comment
- HiLink vimspellRegion DiffAdd
- HiLink vimspellError Error
-
- delcommand HiLink
-endif
-
-let b:current_syntax = "vimspell"
-
-" vim: ts=8 sw=2