comparison runtime/syntax/vimspell.vim @ 227:ef254e0f2365

updated for version 7.0063
author vimboss
date Tue, 22 Mar 2005 23:03:44 +0000
parents 7fd4b5df33be
children 9281a51ca7a2
comparison
equal deleted inserted replaced
226:4e7dca477fee 227:ef254e0f2365
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Vim spell file 2 " Language: Vim spell file
3 " Maintainer: Bram Moolenaar <Bram@vim.org> 3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Last Change: 2005 Mar 20 4 " Last Change: 2005 Mar 22
5 5
6 " Quit when a syntax file was already loaded 6 " Quit when a syntax file was already loaded
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
8 finish 8 finish
9 endif 9 endif
10 10
11 syn match vimspellComment "^#.*" 11 syn match vimspellError ".*"
12 syn match vimspellError "^-.*"
13 syn match vimspellRegion "^---$" 12 syn match vimspellRegion "^---$"
14 syn match vimspellRegion "^\(-\l\l\)\+$" 13 syn match vimspellRegion "^\(-\l\l\)\+$"
15 syn match vimspellError "^[^- #+=>].*" 14 syn match vimspellOK "^!\=[>+]\=[[:alpha:]]\S*"
15 syn match vimspellOK "^!\=+\S*"
16 syn match vimspellError "\s\+$" 16 syn match vimspellError "\s\+$"
17 syn match vimspellOK "^$"
18 syn match vimspellComment "^#.*"
17 19
18 " Define the default highlighting. 20 " Define the default highlighting.
19 " Only when an item doesn't have highlighting yet 21 " Only when an item doesn't have highlighting yet
20 if version >= 508 || !exists("did_diff_syntax_inits") 22 if version >= 508 || !exists("did_diff_syntax_inits")
21 command -nargs=+ HiLink hi def link <args> 23 command -nargs=+ HiLink hi def link <args>