How to disable auto closing parens in vim/evil command line?

Currently the parens automatically close in vim/evil command line. How to stop this behaviour only for vim/evil command line and not for other modes?

Current behaviour: Screen Recording 2022-10-20 at 12.26.56 PM

Expected Behaviour: Screen Recording 2022-10-20 at 12.29.18 PM

These did what I was expecting:

(add-hook 'evil-command-window-mode-hook #'turn-off-smartparens-mode)
(add-hook 'minibuffer-setup-hook #'turn-off-smartparens-mode)
3 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.