Spacemacs:如何全局自动禁用 smartparens?
Spacemacs: How do I disable smartparens globally and automatically?
我想禁用 spacemacs 中的 smartparens 打开 ever。我知道我可以使用 SPC t C-p 全局关闭它们。我不想每次打开 spacemacs 时都必须输入它。
我试过将以下内容(虽然不是很理解我在做什么)扔到我的 .spacemacs user-config() 部分但无济于事:
(setq-default turn-off-smartparens-mode t)
那没有做任何事情,所以我尝试了:
(add-hook 'disable-smartparens
(lambda()
(smartparens-strict-mode -1)
(turn-off-smartparens-mode t)))
这也没有用。
将其添加到 dotspacemacs-excluded-packages
:
dotspacemacs-excluded-packages
'(
smartparens
)
我想禁用 spacemacs 中的 smartparens 打开 ever。我知道我可以使用 SPC t C-p 全局关闭它们。我不想每次打开 spacemacs 时都必须输入它。
我试过将以下内容(虽然不是很理解我在做什么)扔到我的 .spacemacs user-config() 部分但无济于事:
(setq-default turn-off-smartparens-mode t)
那没有做任何事情,所以我尝试了:
(add-hook 'disable-smartparens
(lambda()
(smartparens-strict-mode -1)
(turn-off-smartparens-mode t)))
这也没有用。
将其添加到 dotspacemacs-excluded-packages
:
dotspacemacs-excluded-packages
'(
smartparens
)