Hi,
I am currently using Sublime Text 2 to write and edit Serpent code. I have the Serpent.tmLanguge as package installed. However, this greys out text after // randomly! and not everywhere. This makes it very hard to read the code with lots many comments.
I was wondering if I could modify the xml file or setting of ST 2, so that texts after // become grey.
There are the first few lines of the tmLanguage file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bundleUUID</key>
<string>E3BADC20-6B0E-11D9-9DC9-000D93589AF6</string>
<key>comment</key>
<string>
Todo: // comments, some keywords
</string>
<key>fileTypes</key>
<array>
<string>srp</string>
</array>
<key>firstLineMatch</key>
<string>^#!/.*\bpython[0-9.-]*\b</string>
<key>foldingStartMarker</key>
<string>^\s*(def|class)\s+([.a-zA-Z0-9_ <]+)\s*(\((.*)\))?\s*:|\{\s*$|\(\s*$|\[\s*$|^\s*"""(?=.)(?!.*""")</string>
Any help would be greatly appreciated.