smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Enabling smartparens in modes such as calc-edit-mode

Open BernardHurley opened this issue 8 years ago • 1 comments

It would be nice to be able to enable smartparens automatically in some special modes such as calc-edit-mode which are not derived from comint-mode and do not have mode hooks.

Could I suggest a new variable sp-special-modes-list that contains a list of such modes. The various turn-on functions could easily be modified to take this into account.

BernardHurley avatar Apr 21 '16 11:04 BernardHurley

smartparens-global-mode should do that already. Or you can add setup function to after-change-major-mode-hook. If you want to provide a patch I won't refuse, but this is low priority for me now.

Fuco1 avatar Apr 21 '16 11:04 Fuco1