Skip to content

Instantly share code, notes, and snippets.

@olexandr-konovalov
Created November 21, 2015 00:22
Show Gist options
  • Save olexandr-konovalov/9a71271870728a448982 to your computer and use it in GitHub Desktop.
Save olexandr-konovalov/9a71271870728a448982 to your computer and use it in GitHub Desktop.
GAP syntax highlighting for Smultron
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beginCommand</key>
<string></string>
<key>endCommand</key>
<string></string>
<key>beginInstruction</key>
<string></string>
<key>endInstruction</key>
<string></string>
<key>beginVariable</key>
<string></string>
<key>endVariable</key>
<string></string>
<key>firstString</key>
<string>"</string>
<key>secondString</key>
<string>'</string>
<key>firstSingleLineComment</key>
<string>#</string>
<key>secondSingleLineComment</key>
<string></string>
<key>beginFirstMultiLineComment</key>
<string></string>
<key>beginSecondMultiLineComment</key>
<string></string>
<key>endSecondMultiLineComment</key>
<string></string>
<key>functionDefinition</key>
<string>(^[^#].*(:=)\s*(function).*$|(Install).*$|(Declare).*$)</string>
<key>removeFromFunction</key>
<string></string>
<key>keywordsCaseSensitive</key>
<true/>
<key>recolourKeywordIfAlreadyColoured</key>
<true/>
<key>keywords</key>
<array>
<string>and</string>
<string>Assert</string>
<string>break</string>
<string>continue</string>
<string>do</string>
<string>elif</string>
<string>else</string>
<string>end</string>
<string>fail</string>
<string>false</string>
<string>fi</string>
<string>for</string>
<string>function</string>
<string>if</string>
<string>in</string>
<string>Info</string>
<string>IsBound</string>
<string>local</string>
<string>mod</string>
<string>not</string>
<string>od</string>
<string>or</string>
<string>rec</string>
<string>repeat</string>
<string>return</string>
<string>SaveWorkspace</string>
<string>then</string>
<string>true</string>
<string>Unbind</string>
<string>until</string>
<string>TryNextMethod</string>
<string>while</string>
<string>quit</string>
<string>QUIT</string>
</array>
<key>autocompleteWords</key>
<array>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment