diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-01 22:38:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-01 22:38:45 +0200 |
commit | c873442b15bb94dc099363f6e1ffa57cc4d3ea04 (patch) | |
tree | ca9eecc75974b157665c25a99b083e9bf813154c /runtime/syntax/expect.vim | |
parent | f13de07e492fc0a4a0af12434f3d282f9c989ed4 (diff) | |
download | vim-git-c873442b15bb94dc099363f6e1ffa57cc4d3ea04.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/expect.vim')
-rw-r--r-- | runtime/syntax/expect.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/syntax/expect.vim b/runtime/syntax/expect.vim index 1886e2b3e..6ff7d4142 100644 --- a/runtime/syntax/expect.vim +++ b/runtime/syntax/expect.vim @@ -1,7 +1,8 @@ " Vim syntax file " Language: Expect " Maintainer: Ralph Jennings <knowbudy@oro.net> -" Last Change: 2001 May 09 +" Last Change: 2012 Jun 01 +" (Dominique Pelle added @Spell) " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -72,11 +73,12 @@ syn case ignore "syn match expectIdentifier "\<[a-z_][a-z0-9_]*\>" syn case match -syn region expectString start=+"+ end=+"+ contains=expectVariables,expectSpecial +syn region expectString start=+"+ end=+"+ contains=@Spell,expectVariables,expectSpecial " Are these really comments in Expect? (I never use it, so I'm just guessing). syn keyword expectTodo contained TODO -syn match expectComment "#.*$" contains=expectTodo +syn match expectComment "#.*$" contains=@Spell,expectTodo +syn match expectSharpBang "\%^#!.*" " Define the default highlighting. " For version 5.7 and earlier: only when not done already @@ -89,6 +91,7 @@ if version >= 508 || !exists("did_expect_syntax_inits") command -nargs=+ HiLink hi def link <args> endif + HiLink expectSharpBang PreProc HiLink expectVariables Special HiLink expectCommand Function HiLink expectStatement Statement |