smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Does anyone know how to enable smartparens-strict-mode by default on startup?

Open aykaramba opened this issue 3 years ago • 1 comments

Hi.

I can start SmartParens by default with the following in my .emacs config file:

(require 'smartparens) (smart-parens-global-mode t)

This works, but it doesn't start strict mode on startup. Does anyone know how to enabled it by default?

Thanks.

aykaramba avatar Sep 04 '22 04:09 aykaramba

You will want to use the function turn-on-smartparens-strict-mode.

jasonhemann avatar Sep 13 '22 13:09 jasonhemann

This works, thanks!

aykaramba avatar Sep 24 '22 21:09 aykaramba

There is also smartparens-global-strict-mode

Fuco1 avatar Jan 18 '23 20:01 Fuco1

Aha! Thank you kindly.

aykaramba avatar Jan 18 '23 21:01 aykaramba