Skip to content

Commit

Permalink
Merge pull request #2 from annarailton/add-toggle-comment
Browse files Browse the repository at this point in the history
Add toggle comment
  • Loading branch information
EDODODO authored Oct 31, 2019
2 parents 279ad32 + 73ed1c6 commit 58f682f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions QL.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ contexts:
scope: variable.language.dont-care.ql
- match: '::'
scope: punctuation.accessor
- match: '\b[0-9A-Za-z_]\b'
scope: variable.id_character

# Add highlight mismatching brackets
- match: \(\{
Expand Down
8 changes: 8 additions & 0 deletions ql.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// These settings override both User and Default settings for the ql syntax
{
// The number of spaces a tab is considered equal to
"tab_size": 2,

// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
}
33 changes: 33 additions & 0 deletions ql.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.QL</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_COMMENT_START</string>
<key>value</key>
<string>// </string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_START_2</string>
<key>value</key>
<string>/*</string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_END_2</string>
<key>value</key>
<string>*/</string>
</dict>
</array>
</dict>
</dict>
</plist>

0 comments on commit 58f682f

Please sign in to comment.