diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 17:15:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 17:15:44 +0000 |
commit | d5ab34bd5ecc748d5502f149c476968e5ec2b7c9 (patch) | |
tree | e3a3ac967a8c78dfa6d7eb47af1823ebd358a8bb /runtime/syntax | |
parent | 0630b8d96d12475cfa4457de9fc52e049323be94 (diff) |
updated for version 7.1a
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/sml.vim | 6 | ||||
-rw-r--r-- | runtime/syntax/verilog.vim | 12 | ||||
-rw-r--r-- | runtime/syntax/xmath.vim | 11 |
3 files changed, 15 insertions, 14 deletions
diff --git a/runtime/syntax/sml.vim b/runtime/syntax/sml.vim index a45b204a83..aa7d64a33a 100644 --- a/runtime/syntax/sml.vim +++ b/runtime/syntax/sml.vim @@ -4,9 +4,9 @@ " Maintainers: Markus Mottl <markus.mottl@gmail.com> " Fabrizio Zeno Cornelli <zeno@filibusta.crema.unimi.it> " URL: http://www.ocaml.info/vim/syntax/sml.vim -" Last Change: 2006 Feb 05 +" Last Change: 2006 Oct 23 - Fixed character highlighting bug (MM) +" 2002 Jun 02 - Fixed small typo (MM) " 2001 Nov 20 - Fixed small highlighting bug with modules (MM) -" 2001 Aug 29 - Fixed small highlighting bug (MM) " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -137,7 +137,7 @@ syn match smlConstructor "\u\(\w\|'\)*\>" " Module prefix syn match smlModPath "\u\(\w\|'\)*\."he=e-1 -syn match smlCharacter +#"."\|#"\\\d\d\d"+ +syn match smlCharacter +#"\\""\|#"."\|#"\\\d\d\d"+ syn match smlCharErr +#"\\\d\d"\|#"\\\d"+ syn region smlString start=+"+ skip=+\\\\\|\\"+ end=+"+ diff --git a/runtime/syntax/verilog.vim b/runtime/syntax/verilog.vim index aad918cdf4..01f312f936 100644 --- a/runtime/syntax/verilog.vim +++ b/runtime/syntax/verilog.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Verilog -" Maintainer: Mun Johl <mun_johl@sierralogic.com> -" Last Update: Tue Jun 7 14:27:10 PDT 2005 +" Maintainer: Mun Johl <Mun.Johl@emulex.com> +" Last Update: Fri Oct 13 11:44:32 PDT 2006 " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -76,10 +76,10 @@ syn match verilogGlobal "$[a-zA-Z0-9_]\+\>" syn match verilogConstant "\<[A-Z][A-Z0-9_]\+\>" -syn match verilogNumber "\(\<\d\+\|\)'[bB]\s*[0-1_xXzZ?]\+\>" -syn match verilogNumber "\(\<\d\+\|\)'[oO]\s*[0-7_xXzZ?]\+\>" -syn match verilogNumber "\(\<\d\+\|\)'[dD]\s*[0-9_xXzZ?]\+\>" -syn match verilogNumber "\(\<\d\+\|\)'[hH]\s*[0-9a-fA-F_xXzZ?]\+\>" +syn match verilogNumber "\(\<\d\+\|\)'[sS]\?[bB]\s*[0-1_xXzZ?]\+\>" +syn match verilogNumber "\(\<\d\+\|\)'[sS]\?[oO]\s*[0-7_xXzZ?]\+\>" +syn match verilogNumber "\(\<\d\+\|\)'[sS]\?[dD]\s*[0-9_xXzZ?]\+\>" +syn match verilogNumber "\(\<\d\+\|\)'[sS]\?[hH]\s*[0-9a-fA-F_xXzZ?]\+\>" syn match verilogNumber "\<[+-]\=[0-9_]\+\(\.[0-9_]*\|\)\(e[0-9_]*\|\)\>" syn region verilogString start=+"+ skip=+\\"+ end=+"+ contains=verilogEscape,@Spell diff --git a/runtime/syntax/xmath.vim b/runtime/syntax/xmath.vim index e9c3762165..83efb08db2 100644 --- a/runtime/syntax/xmath.vim +++ b/runtime/syntax/xmath.vim @@ -1,8 +1,8 @@ " Vim syntax file " Language: xmath (a simulation tool) " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz> -" Last Change: Apr 12, 2006 -" Version: 5 +" Last Change: Sep 11, 2006 +" Version: 6 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax " For version 5.x: Clear all syntax items @@ -175,7 +175,7 @@ syn match xmathLabel "^\s*<[a-zA-Z_][a-zA-Z0-9]*>" " String and Character constants " Highlight special characters (those which have a backslash) differently syn match xmathSpecial contained "\\\d\d\d\|\\." -syn region xmathString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=xmathSpecial +syn region xmathString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=xmathSpecial,@Spell syn match xmathCharacter "'[^\\]'" syn match xmathSpecialChar "'\\.'" @@ -184,9 +184,10 @@ syn match xmathNumber "-\=\<\d\+L\=\>\|0[xX][0-9a-fA-F]\+\>" " Comments: " xmath supports #... (like Unix shells) " and #{ ... }# comment blocks +syn cluster xmathCommentGroup contains=xmathString,xmathTodo,@Spell syn keyword xmathTodo contained COMBAK DEBUG FIXME Todo TODO XXX -syn match xmathComment "#.*$" contains=xmathString,xmathTodo,@Spell -syn region xmathCommentBlock start="#{" end="}#" contains=xmathString,xmathTodo +syn match xmathComment "#.*$" contains=@xmathCommentGroup +syn region xmathCommentBlock start="#{" end="}#" contains=@xmathCommentGroup " synchronizing syn sync match xmathSyncComment grouphere xmathCommentBlock "#{" |