Hi Markus,

On 09.03.2013 13:41, Bram Moolenaar wrote:
> 
> Markus Pargmann wrote:
> 
>> Small improvement to highlight nodes with addresses in devicetree files.

Can you give me an example of such a node, so I can reproduce this here
and test you patch?


Thanks,
Daniel


> 
> Copied to the maintainer.
> 
>> Signed-off-by: Markus Pargmann <[email protected]>
>> ---
>>  runtime/syntax/dts.vim | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/runtime/syntax/dts.vim b/runtime/syntax/dts.vim
>> index 84e37ae..838e13e 100644
>> --- a/runtime/syntax/dts.vim
>> +++ b/runtime/syntax/dts.vim
>> @@ -13,6 +13,7 @@ syntax region dtsBinaryProperty start="\[" end="\]"
>>  syntax match  dtsStringProperty "\".*\""
>>  syntax match  dtsKeyword        "/.*/"
>>  syntax match  dtsLabel          "^[[:space:]]*[[:alpha:][:digit:]_]\+:"
>> +syntax match  dtsNode "[[:alpha:][:digit:]-_]\+@[0-9a-eA-E]\+"
>>  syntax region dtsCellProperty   start="<" end=">" 
>> contains=dtsReference,dtsBinaryProperty,dtsStringProperty,dtsComment
>>  syntax region dtsCommentInner   start="/\*"  end="\*/"
>>  
>> @@ -21,6 +22,7 @@ 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 
>> -- 
>> 1.8.1.4
> 

-- 
-- 
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.


Raspunde prin e-mail lui