Hi, small patch for dts syntax file to highlight dts nodes with a specific adress, e.g. 'dma@10001000'.
Best regards, Markus -- 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
diff -r b89e2bdcc6e5 runtime/syntax/dts.vim --- a/runtime/syntax/dts.vim Sun Dec 16 12:50:40 2012 +0100 +++ b/runtime/syntax/dts.vim Mon Jan 14 19:57:33 2013 +0100 @@ -13,6 +13,7 @@ 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 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
