【发布时间】:2016-05-28 15:06:09
【问题描述】:
在 emacs 中使用 flyspell-prog-mode 会导致 go-automplete 阻塞。有没有办法让这两种模式一起玩得很好?
我已经使用另一种拼写检查器进行了研究,但没有找到具有与 flyspell 相同的功能(即仅检查 cmets 和字符串,并在运行中进行)。非常感谢任何提示,谢谢
【问题讨论】:
标签: go emacs autocomplete flyspell
在 emacs 中使用 flyspell-prog-mode 会导致 go-automplete 阻塞。有没有办法让这两种模式一起玩得很好?
我已经使用另一种拼写检查器进行了研究,但没有找到具有与 flyspell 相同的功能(即仅检查 cmets 和字符串,并在运行中进行)。非常感谢任何提示,谢谢
【问题讨论】:
标签: go emacs autocomplete flyspell
这是auto-complete 的一般问题。做吧
(ac-flyspell-workaround)
设置auto-complete后。
【讨论】:
jpkotta 是正确的。完整的参考解决方案是:
(with-eval-after-load 'go-mode
(require 'go-autocomplete)
(ac-flyspell-workaround))
【讨论】: