" Vim syntax file | |
" Language: roslaunch XML | |
" Maintainer: Jonathan Bohren | |
" Latest Revision: 8 July 2013 | |
" | |
" roslaunch xml syntax hilighting with inline yaml support | |
" | |
" Put this file in ~/.vim/syntax/roslaunch.vim | |
" Put the following in your .vimrc: | |
" autocmd BufRead,BufNewFile *.launch setfiletype roslaunch | |
if exists("b:current_syntax") | |
finish | |
endif | |
runtime syntax/xml.vim | |
let s:current_syntax=b:current_syntax | |
unlet b:current_syntax | |
syntax include @YAML syntax/yaml.vim | |
syntax region ymlSnipInline matchgroup=rosparamTag start="\m<.\{-}rosparam.\{-}>" end="\m</.\{-}rosparam.\{-}>" contains=@YAML containedin=xmlEntity | |
hi link rosparamTag ModeMsg | |
let b:current_syntax=s:current_syntax |
This comment has been minimized.
This comment has been minimized.
Here is the emacs version http://wiki.ros.org/roslaunch/Tutorials/Using%20Roslaunch%20with%20Emacs |
This comment has been minimized.
This comment has been minimized.
Something wrong with "rosparam": https://cloud.mail.ru/public/BSiR/cRp7By5SA |
This comment has been minimized.
This comment has been minimized.
Still works like a charm for me in 2019. Thanks, @jbohren, for an easy soln to a problem I didn't know I had. |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
I like it. Can you create an emacs version ? LOL