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/bc.vim | |
parent | f13de07e492fc0a4a0af12434f3d282f9c989ed4 (diff) | |
download | vim-git-c873442b15bb94dc099363f6e1ffa57cc4d3ea04.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/bc.vim')
-rw-r--r-- | runtime/syntax/bc.vim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/syntax/bc.vim b/runtime/syntax/bc.vim index dcfaf486a..965afc35b 100644 --- a/runtime/syntax/bc.vim +++ b/runtime/syntax/bc.vim @@ -1,7 +1,8 @@ " Vim syntax file " Language: bc - An arbitrary precision calculator language " Maintainer: Vladimir Scholtz <vlado@gjh.sk> -" Last change: 2001 Sep 02 +" Last change: 2012 Jun 01 +" (Dominique Pelle added @Spell) " Available on: www.gjh.sk/~vlado/bc.vim " For version 5.x: Clear all syntax items @@ -31,14 +32,14 @@ syn keyword bcConstant BC_ENV_ARGS BC_LINE_LENGTH syn match bcIdentifier "[a-z_][a-z0-9_]*" " String - syn match bcString "\"[^"]*\"" + syn match bcString "\"[^"]*\"" contains=@Spell " Number syn match bcNumber "[0-9]\+" " Comment -syn match bcComment "\#.*" -syn region bcComment start="/\*" end="\*/" +syn match bcComment "\#.*" contains=@Spell +syn region bcComment start="/\*" end="\*/" contains=@Spell " Parent () syn cluster bcAll contains=bcList,bcIdentifier,bcNumber,bcKeyword,bcType,bcConstant,bcString,bcParentError |