Do not override user-defined keymaps when reloading packages

This commit is contained in:
Antonio Scandurra
2015-11-26 10:39:47 +01:00
parent aca12a8dc8
commit 5dfd765bcf
2 changed files with 52 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ KeymapManager::loadUserKeymap = ->
return unless fs.isFileSync(userKeymapPath)
try
@loadKeymap(userKeymapPath, watch: true, suppressErrors: true)
@loadKeymap(userKeymapPath, watch: true, suppressErrors: true, priority: 100)
catch error
if error.message.indexOf('Unable to watch path') > -1
message = """