Skip to content

Commit

Permalink
fix #111 update selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed May 8, 2018
1 parent 45915a4 commit 3b64803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Comments.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.less</string>
<string>source.css.less</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
Expand Down
6 changes: 3 additions & 3 deletions Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
{ "key": "setting.auto_insert_semicolon", "operator": "equal", "operand": true },
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "source.less - meta.selector.css", "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "source.css.less - meta.selector.css", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\}|$)", "match_all": true }
]
},
{ "keys": [";"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "source.less - meta.selector.css", "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "source.css.less - meta.selector.css", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^;", "match_all": true }
]
},
Expand All @@ -21,7 +21,7 @@
{ "key": "setting.auto_insert_semicolon", "operator": "equal", "operand": true },
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "source.less - meta.selector.css", "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "source.css.less - meta.selector.css", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": ":$", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^;", "match_all": true }
]
Expand Down

0 comments on commit 3b64803

Please sign in to comment.