Hi Bram,

On 26.03.2013 12:30, Bram Moolenaar wrote:
> Daniel Mack wrote:
> 
>> On 25.03.2013 22:51, Markus Pargmann wrote:
>>> Hexadecimal numbers are actually going from a-f not a-e.
>>>
>>> Signed-off-by: Markus Pargmann <[email protected]>
>>
>> That sounds about right.
>>
>> Acked-by: Daniel Mack <[email protected]>
>>
>>> ---
>>>
>>> Sorry for this. I should have noticed this bug before.
>>
>> Sorry for not seeing it either :)
> 
> If you make improvements to a runtime file, please send me the new
> version.  I don't like hunting around for the right patches, I prefer
> the maintainer to send me the right version.

Ok. I thought it was much easier for you to just take the patch, given
that you also get the commit log and authorship for free. But anyway,
the file is attached.


Thanks,
Daniel


-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


" Vim syntax file
" Language:     dts/dtsi (device tree files)
" Maintainer:   Daniel Mack <[email protected]>
" Last Change:  2013 Mar 11

if exists("b:current_syntax")
  finish
endif

syntax region dtsComment        start="/\*"  end="\*/"
syntax match  dtsReference      "&[[:alpha:][:digit:]_]\+"
syntax region dtsBinaryProperty start="\[" end="\]" 
syntax match  dtsStringProperty "\".*\""
syntax match  dtsKeyword        "/.*/"
syntax match  dtsLabel          "^[[:space:]]*[[:alpha:][:digit:]_]\+:"
syntax match  dtsNode           
/[[:alpha:][:digit:]-_]\+\(@[0-9a-fA-F]\+\|\)[[:space:]]*{/he=e-1
syntax region dtsCellProperty   start="<" end=">" 
contains=dtsReference,dtsBinaryProperty,dtsStringProperty,dtsComment
syntax region dtsCommentInner   start="/\*"  end="\*/"

hi def link dtsCellProperty     Number
hi def link dtsBinaryProperty   Number
hi def link dtsStringProperty   String
hi def link dtsKeyword          Include
hi def link dtsLabel            Label
hi def link dtsNode             Structure
hi def link dtsReference        Macro
hi def link dtsComment          Comment
hi def link dtsCommentInner     Comment 

Raspunde prin e-mail lui