Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <language id="bash" name="bash" version="2.0" _section="Other">
- <metadata>
- <property name="mimetypes">text/csv;text/plain</property>
- <property name="globs">*.csv;*.txt</property>
- <property name="line-comment-start">\\</property>
- <property name="block-comment-start">//</property>
- <property name="block-comment-end">-/\/\</property>
- </metadata>
- <styles>
- <style id="sip" name="sip" map-to="def:special-char"/>
- <style id="hemail" name="hemail" map-to="def:decimal"/>
- <style id="string" name="String" map-to="def:string"/>
- <style id="decimal" name="Decimal number" map-to="def:decimal"/>
- <style id="escaped-character" name="Escaped character" map-to="def:special-char"/>
- <style id="comment" name="Comment" map-to="def:comment"/>
- </styles>
- <definitions>
- <context id="sip" style-ref="sip">
- <start>--->></start>
- <end>--->></end>
- <include>
- <context id="hemail" style-ref="hemail">
- <match extended="true">
- (\A\S+@\S+\Z)
- </match>
- </context>
- </include>
- </context>
- <context id="string" style-ref="string" class="string" class-disabled="no-spell-check">
- <start>"</start>
- <end>"</end>
- <include>
- <context id="escaped-character" style-ref="escaped-character">
- <match extended="true">
- \"\" # escaped double-quote
- </match>
- </context>
- </include>
- </context>
- <context id="decimal" style-ref="decimal">
- <match extended="true">
- [0-9]
- </match>
- </context>
- <context id="bash" class="no-spell-check">
- <include>
- <context ref="decimal"/>
- <context ref="sip"/>
- <context ref="string"/>
- <context ref="hemail"/>
- </include>
- </context>
- </definitions>
- </language>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement