简体   繁体   中英

Use Flyspell-prog-mode with go-autocomplete

Using flyspell-prog-mode in emacs causes go-automplete to choke. Is there anyway I can make these two modes play nicely together?

I have researched using another spell checker but did not find one that has same capabilities as flyspell (ie only check comments and strings, and do it on the fly). Any tips most appreciated, thanks

This is a general issue with auto-complete . Just do

(ac-flyspell-workaround)

after setting up auto-complete .

jpkotta was correct. Complete solution for reference was:

(with-eval-after-load 'go-mode 
 (require 'go-autocomplete) 
 (ac-flyspell-workaround))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM