updated for version 7.0066
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
Reference in New Issue
Block a user