mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
Add package namespace to command registration
This commit is contained in:
parent
b0b38079e0
commit
651d305f76
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user