Markus Pargmann wrote:

> Small improvement to highlight nodes with addresses in devicetree files.

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

-- 
To define recursion, we must first define recursion.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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