系统:macOS 10.15
emacs-mac 27.1,spacemacs最新版。
安装并调用cdlatex后,latex模式下输入圆括号(
无法自动补全另一半,并且会报错:
Search failed: there is an unmatched expression somewhere or we are at the beginning/end of file.
相关代码:
dotspacemacs-configuration-layers
(
(latex :variables
latex-backend 'company-auctex
latex-build-engine 'xetex
latex-enable-magic t
latex-enable-folding t)
)
dotspacemacs-additional-packages '(
cdlatex
)
(add-hook 'LaTeX-mode-hook 'turn-on-cdlatex)
(add-hook 'org-mode-hook 'turn-on-org-cdlatex)
org-mode下面一切正常。latex-mode则出现开头所描述的问题。截图如下:
我的smartparens相关配置全部默认,没有改动过。
尝试搜索解决方案,但相关讨论很少。有一个在很多地方都能看到的回答是:https://gitmemory.com/issue/cdominik/cdlatex/15/643754217 但经尝试无效。
请问有没有什么解决方案?