Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion macros/Commit Critic Addition.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{\\+\\+\\s?(.*?)\\s*\\+\\+\\}$/\\1/g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{\\+\\+(.*?)\\+\\+\\}/\\1/g}"}}
]
3 changes: 1 addition & 2 deletions macros/Commit Critic Deletion.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "move", "args": {"by": "words", "extend": true, "forward": true}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{--.*--\\}[ \\t]*//g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{--.*?--\\}//g}"}}
]
2 changes: 1 addition & 1 deletion macros/Commit Critic Substitution.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{~~\\s?(.*?)\\s?~>\\s?(.*?)\\s?~~\\}$/\\2/g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{~~(.*?)~>(.*?)~~\\}/\\2/g}"}}
]
3 changes: 1 addition & 2 deletions macros/Discard Critic Addition.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "move", "args": {"by": "words", "extend": true, "forward": true}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{\\+\\+.*\\+\\+\\}[ \\t]*//g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{\\+\\+.*?\\+\\+\\}//g}"}}
]
3 changes: 1 addition & 2 deletions macros/Discard Critic Comment.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "move", "args": {"by": "words", "extend": true, "forward": true}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{>>.*<<\\}[ \\t]*//g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{>>.*?<<\\}//g}"}}
]
2 changes: 1 addition & 1 deletion macros/Discard Critic Deletion.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{--\\s?(.*?)\\s*--\\}$/\\1/g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{--(.*?)--\\}/\\1/g}"}}
]
3 changes: 1 addition & 2 deletions macros/Discard Critic Highlight.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "move", "args": {"by": "words", "extend": true, "forward": true}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{==\\s?(.*?)\\s*==\\}[ \\t]*(.*)$/\\1\\2/g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{==(.*?)==\\}/\\1/g}"}}
]
2 changes: 1 addition & 1 deletion macros/Discard Critic Substitution.sublime-macro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "expand_selection", "args": {"to": "brackets"}},
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{~~\\s?(.*?)\\s?~>\\s?(.*?)\\s?~~\\}$/\\1/g}"}}
{"command": "insert_snippet", "args": {"contents": "${SELECTION/\\{~~(.*?)~>(.*?)~~\\}/\\1/g}"}}
]