Mercurial > vim
view runtime/syntax/vimspell.vim @ 230:9281a51ca7a2
updated for version 7.0064
author | vimboss |
---|---|
date | Fri, 25 Mar 2005 21:53:48 +0000 |
parents | ef254e0f2365 |
children |
line wrap: on
line source
" 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