evil-lisp-state
evil-lisp-state copied to clipboard
Restore smartparens state on exit
Currently I'm using parinfer-mode alongside evil-lisp-state in my spacemacs setup. The former isn't compatible with smartparens, while the latter depends on it.
As far as I can see, this setup works when smartparens is deactivated in insert/hybrid mode, where parinfer is active. But evil-lisp-state forces activation of smartparens, and then leaves it active.
This is an attempt to restore previous smartparens state when exiting lisp-state.