Syntax plugin for __DATA__ to use with Data::Section::Simple.
This plugin can highlight the __DATA__ block with the specified syntax (default: perl). It detects the format of Data::Section::Simple.
-
Clone this repo.
-
Write below in your vimrc.
set runtimepath+=/path/to/this/repo
or use your favorite plugin managers.
You can highlight __DATA__ by your own syntax with this option. When you set let g:data_section_simple_syntax = 'markdown' before opening files, __DATA__ will be highlighed as Markdown.
Vim evaluates this variable every time when it opens the file. So you can choose __DATA__ syntax before opening each file or re-editing it by :e %.

