syl20bnr / evil-lisp-state

An evil state to navigate Lisp code and modify it with smartparens
GNU General Public License v3.0
91 stars 26 forks source link

Don't bind major-mode map when evil-lisp-state-global #19

Closed justbur closed 8 years ago

justbur commented 8 years ago

When this variable is non nil this map receives no bindings, so we shouldn't bind it in this case.

Fixes https://github.com/syl20bnr/spacemacs/issues/4151

justbur commented 8 years ago

Added missing initialization of evil-lisp-state-major-mode-map

justbur commented 8 years ago

Actually I think this can be simplified by not using evil-lisp-state-major-mode-map at all. I don't see the purpose of having a separate map that is only sometimes filled with bindings