Skip to content

Commit

Permalink
Support Shell Script highligting #668
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Jan 5, 2025
1 parent a52a490 commit 0d1ff89
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>

<SyntaxDefinition name="Shell Script" extensions=".sh">

<RuleSets>
<RuleSet ignorecase="false">

<Span name="LineComment" stopateol="true" color="Green" bold="false" italic="false">
<Begin>#</Begin>
</Span>

<Span name="String" color="#808080" stopateol="true" bold="false" italic="false" escapecharacter="\">
<Begin>"</Begin>
<End>"</End>
</Span>

<Span name="Char" color="#808080" stopateol="true" bold="false" italic="false" escapecharacter="\">
<Begin>'</Begin>
<End>'</End>
</Span>

<KeyWords name="Syntax" color="Blue" bold="false">
<Key word="if"/>
<Key word="then"/>
<Key word="fi"/>
</KeyWords>

</RuleSet>
</RuleSets>
</SyntaxDefinition>

0 comments on commit 0d1ff89

Please sign in to comment.