49
GitHub - joker1007/vim-ruby-heredoc-syntax: vim plugin for highliting code in ru...
source link: https://github.com/joker1007/vim-ruby-heredoc-syntax
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.mkd
vim-ruby-heredoc-syntax
This enables syntax highlighting in Ruby here document code blocks.
Install
Use neobundle.vim:
NeoBundle 'joker1007/vim-ruby-heredoc-syntax'
For neosnippet & context_filetype
If you have the context_filetype.vim plugin, this adds context filetype setting for Ruby here document block.
Screenshot
Options
" Add syntax rule let g:ruby_heredoc_syntax_filetypes = { \ "xml" : { \ "start" : "XML", \}, \} " 'start' is heredoc start literal.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK