mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add package namespace to command registration
This commit is contained in:
@@ -22,7 +22,8 @@ class BracketMatcher extends AtomPackage
|
||||
|
||||
subscribeToEditor: (editor) ->
|
||||
editor.on 'cursor:moved.bracket-matcher', => @updateMatch(editor)
|
||||
editor.command 'editor:go-to-matching-bracket', => @goToMatchingPair(editor)
|
||||
editor.command 'editor:go-to-matching-bracket.bracket-matcher', =>
|
||||
@goToMatchingPair(editor)
|
||||
editor.on 'editor:will-be-removed', => editor.off('.bracket-matcher')
|
||||
|
||||
goToMatchingPair: (editor) ->
|
||||
|
||||
Reference in New Issue
Block a user