mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 14:43:05 -03:00
Initial dumb stuff
This commit is contained in:
21
lexers/plaintext.xml
Normal file
21
lexers/plaintext.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<lexer>
|
||||
<config>
|
||||
<name>plaintext</name>
|
||||
<alias>text</alias>
|
||||
<alias>plain</alias>
|
||||
<alias>no-highlight</alias>
|
||||
<filename>*.txt</filename>
|
||||
<mime_type>text/plain</mime_type>
|
||||
<priority>-1</priority>
|
||||
</config>
|
||||
<rules>
|
||||
<state name="root">
|
||||
<rule pattern=".+">
|
||||
<token type="Text"/>
|
||||
</rule>
|
||||
<rule pattern="\n">
|
||||
<token type="Text"/>
|
||||
</rule>
|
||||
</state>
|
||||
</rules>
|
||||
</lexer>
|
Reference in New Issue
Block a user