Skip to content

Commit

Permalink
Fixes #4 - Configuration setting jsdoc_extend_double_slash controls…
Browse files Browse the repository at this point in the history
… automatic extension of // comments
  • Loading branch information
spadgos committed Oct 27, 2011
1 parent 2c9f299 commit ca018cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Base File.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"jsdocs_extend_double_slash": true
}
1 change: 1 addition & 0 deletions Default.sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "\n${TM_CURRENT_LINE/^\\s*(\\/\\/\\s*).*$/$1/}"}, "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true },
{ "key": "setting.jsdocs_extend_double_slash", "operator": "equal", "operand": true, "match_all": true},
{ "key": "selector", "operator" : "equal", "operand" : "comment.line.double-slash", "match_all": true},
{ "key": "preceding_text", "operator" : "regex_contains", "operand": "^\\s*\\/\\/", "match_all": true}
]
Expand Down

0 comments on commit ca018cf

Please sign in to comment.