mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-29 17:43:28 +03:00
Rename Keymap::loadUserKeymaps
to Keymap::loadUserKeymap
This commit is contained in:
parent
95107052d0
commit
cde0fae1f3
@ -36,7 +36,7 @@ class Keymap
|
||||
@loadDirectory(config.bundledKeymapsDirPath)
|
||||
@emit('bundled-keymaps-loaded')
|
||||
|
||||
loadUserKeymaps: ->
|
||||
loadUserKeymap: ->
|
||||
userKeymapPath = CSON.resolve(path.join(config.configDirPath, 'keymap'))
|
||||
@load(userKeymapPath) if userKeymapPath
|
||||
|
||||
|
@ -53,7 +53,7 @@ window.startEditorWindow = ->
|
||||
atom.packages.loadPackages()
|
||||
deserializeEditorWindow()
|
||||
atom.packages.activate()
|
||||
atom.keymap.loadUserKeymaps()
|
||||
atom.keymap.loadUserKeymap()
|
||||
atom.requireUserInitScript()
|
||||
atom.menu.update()
|
||||
$(window).on 'unload', ->
|
||||
|
Loading…
Reference in New Issue
Block a user