2 " Language: roslaunch XML
3 " Maintainer: Jonathan Bohren
4 " Latest Revision: 8 July 2013
6 " roslaunch xml syntax hilighting with inline yaml support
8 " Put the following in your .vimrc:
9 " autocmd BufRead,BufNewFile *.launch setfiletype roslaunch
11 if exists("b:current_syntax")
15 runtime syntax/xml.vim
17 let s:current_syntax=b:current_syntax
18 unlet b:current_syntax
20 syntax include @YAML syntax/yaml.vim
21 syntax region ymlSnipInline matchgroup=rosparamTag start="\m<.\{-}rosparam.\{-}>" end="\m</.\{-}rosparam.\{-}>" contains=@YAML containedin=xmlEntity
22 hi link rosparamTag ModeMsg
24 let b:current_syntax=s:current_syntax