Skip to content

Commit

Permalink
Merge pull request #22 from eskadah/add-golang-syntax
Browse files Browse the repository at this point in the history
adds go syntax highlighting
  • Loading branch information
yurtaev authored Aug 18, 2018
2 parents d454eae + a021787 commit d0e1822
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 0 deletions.
150 changes: 150 additions & 0 deletions One Dark.icls
Original file line number Diff line number Diff line change
Expand Up @@ -2274,5 +2274,155 @@
<option name="FOREGROUND" value="98c379" />
</value>
</option>
<option name="GO_BRACES">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_BRACKET">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_BUILTIN_CONSTANT">
<value>
<option name="FOREGROUND" value="d2945d" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_BUILTIN_FUNCTION">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_BUILTIN_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_BUILTIN_TYPE">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_BUILTIN_TYPE_REFERENCE">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_BUILTIN_VARIABLE">
<value>
<option name="FOREGROUND" value="d2945d" />
</value>
</option>
<option name="GO_COMMA">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_EXPORTED_FUNCTION">
<value>
<option name="FOREGROUND" value="61afef" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_EXPORTED_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_KEYWORD">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_LOCAL_CONSTANT">
<value>
<option name="FOREGROUND" value="e06c75" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_LOCAL_FUNCTION">
<value>
<option name="FOREGROUND" value="61afef" />
</value>
</option>
<option name="GO_LOCAL_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_LOCAL_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_METHOD_RECEIVER">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_NUMBER">
<value>
<option name="FOREGROUND" value="d2945d" />
</value>
</option>
<option name="GO_OPERATOR">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_PACKAGE_EXPORTED_CONSTANT">
<value>
<option name="FOREGROUND" value="e06c75" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_PACKAGE_EXPORTED_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_PACKAGE_LOCAL_CONSTANT">
<value>
<option name="FOREGROUND" value="e06c75" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_PACKAGE_LOCAL_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_SCOPE_VARIABLE">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_SEMICOLON">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_STRING">
<value>
<option name="FOREGROUND" value="98c379" />
</value>
</option>
<option name="GO_STRUCT_EXPORTED_MEMBER_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_STRUCT_LOCAL_MEMBER_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_TYPE_REFERENCE">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
</attributes>
</scheme>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ color themes.
- [x] JSON
- [x] HTML
- [x] XML
- [x] Golang
- [ ] Java
- [ ] Ruby
- [ ] PHP
Expand Down
150 changes: 150 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,156 @@ tmpl = `<scheme name="One dark" version="1" parent_scheme="Darcula">
<option name="FOREGROUND" value="${hue_4}" />
</value>
</option>
<option name="GO_BRACES">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_BRACKET">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_BUILTIN_CONSTANT">
<value>
<option name="FOREGROUND" value="d2945d" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_BUILTIN_FUNCTION">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_BUILTIN_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_BUILTIN_TYPE">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_BUILTIN_TYPE_REFERENCE">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_BUILTIN_VARIABLE">
<value>
<option name="FOREGROUND" value="d2945d" />
</value>
</option>
<option name="GO_COMMA">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_EXPORTED_FUNCTION">
<value>
<option name="FOREGROUND" value="61afef" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_EXPORTED_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_KEYWORD">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_LOCAL_CONSTANT">
<value>
<option name="FOREGROUND" value="e06c75" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_LOCAL_FUNCTION">
<value>
<option name="FOREGROUND" value="61afef" />
</value>
</option>
<option name="GO_LOCAL_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_LOCAL_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_METHOD_RECEIVER">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_NUMBER">
<value>
<option name="FOREGROUND" value="d2945d" />
</value>
</option>
<option name="GO_OPERATOR">
<value>
<option name="FOREGROUND" value="c679dd" />
</value>
</option>
<option name="GO_PACKAGE_EXPORTED_CONSTANT">
<value>
<option name="FOREGROUND" value="e06c75" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_PACKAGE_EXPORTED_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_PACKAGE_LOCAL_CONSTANT">
<value>
<option name="FOREGROUND" value="e06c75" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="GO_PACKAGE_LOCAL_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_SCOPE_VARIABLE">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_SEMICOLON">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
<option name="GO_STRING">
<value>
<option name="FOREGROUND" value="98c379" />
</value>
</option>
<option name="GO_STRUCT_EXPORTED_MEMBER_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_STRUCT_LOCAL_MEMBER_CALL">
<value>
<option name="FOREGROUND" value="57b6c2" />
</value>
</option>
<option name="GO_TYPE_REFERENCE">
<value>
<option name="FOREGROUND" value="aeb6c0" />
</value>
</option>
</attributes>
</scheme>`

Expand Down
Binary file modified settings.jar
Binary file not shown.

0 comments on commit d0e1822

Please sign in to comment.