[英]How to disable Emacs highlighting whitespace in parenthesis?
在上面的屏幕截圖中,可以看出Emacs突出顯示括號之間的空白,除非我將光標移動到任意一側。
我在emacs配置中啟用了smartparens,但即使我禁用它們,這個問題仍然存在。 我也沒有啟用空白模式。
知道可能導致這種情況的原因嗎?
配置的相關部分:
(require 'smartparens-config)
(smartparens-global-mode t)
(show-smartparens-global-mode t)
謝謝。
不幸的是, Ignacy Moryc給出的解決方案並沒有幫助我,但是這個解決了這個問題:
(setq sp-highlight-pair-overlay nil)
這看起來像show-paren-mode
如果您的配置文件中有(show-paren-mode t)
,則可能需要將其刪除。 或者,您可以將show-paren-style
變量值更改為parenthesis
(setq show-paren-style 'parenthesis)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.