edubkendo / atom-racer

Intelligent code completion for Rust in the Atom Editor. Requires Racer.
MIT License
115 stars 24 forks source link

Add abortKeyBinding to allow overloading keymaps #69

Closed yasuyuky closed 8 years ago

yasuyuky commented 8 years ago

Hi. I added abortKeyBinding to allow overloading key mapping.

Now, findDefinition method check condition that the grammar of source code is correct. If not, the method quit silently and other keybindings which have same key-map can not know that.

Adding e. abortKeyBinding, others could know atom-racer did not handle the key-map. So this PR may also ease problems like #43 .

http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/#overloading-key-bindings

Regards,

edubkendo commented 8 years ago

Thanks for your contribution!