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

Only switch to evil lisp state if in evil mode #22

Open russell opened 8 years ago

russell commented 8 years ago

This is to support this in hybrid environments where users may not be using evil mode at all, or may be using evil mode in some situations.

I really like what your doing with spacemacs. But I'm finding some inconsistencies when running in holy mode, this package assumes that you are in an Evil mode and then forces you into it. But at the same time i want to be friendly to people running in a hybrid environment. So this is my attempt to only switch to evil if your already in an evil mode. There may be a better condition that could go in there. I've only been using spacemacs for 2 days.

syl20bnr commented 8 years ago

Thank you for the PR :+1: With last develop branch of Spacemacs it should not happen anymore so I'm not sure the PR is still needed, can you confirm ?

russell commented 8 years ago

Hey,

Thanks for the reply. It seems to still throw me into lisp state. The steps i took where, opened .py file. evil-state == emacs browse to parens M-m k W evil-state == lisp

i'm running spacemacs develop b21c7177ec882276161e323eb417fbeaf5b4b814