在emacs中使用flyspell-prog-mode會導致自動完成窒息。無論如何,我可以讓這兩種模式很好地融合在一起嗎?使用Flyspell-prog-mode和go-autocomplete
我研究過使用另一個拼寫檢查程序,但沒有找到與flyspell具有相同功能(即只檢查註釋和字符串,並在飛行中執行)的功能。任何提示最讚賞,謝謝
在emacs中使用flyspell-prog-mode會導致自動完成窒息。無論如何,我可以讓這兩種模式很好地融合在一起嗎?使用Flyspell-prog-mode和go-autocomplete
我研究過使用另一個拼寫檢查程序,但沒有找到與flyspell具有相同功能(即只檢查註釋和字符串,並在飛行中執行)的功能。任何提示最讚賞,謝謝
這是一個普遍的問題與auto-complete
。只要做
(ac-flyspell-workaround)
設置後auto-complete
。
jpkotta是正確的。完整的參考解決方案是:
(with-eval-after-load 'go-mode
(require 'go-autocomplete)
(ac-flyspell-workaround))