nsf / gocode

An autocompletion daemon for the Go programming language
MIT License
5.01k stars 657 forks source link

Apply syntax highlighting to suggestions in the minibuffer #448

Closed Wilfred closed 7 years ago

Wilfred commented 7 years ago

gocode_highlighting

nsf commented 7 years ago

Applies even if font lock disabled globally (global-font-lock-mode 0). Can we skip it if so? I don't know elisp well, have no idea how to detect whether font lock mode is enabled or disabled. But people with syntax highlighting turned off will get annoyed by this.

Wilfred commented 7 years ago

@nsf updated to respect global-font-lock-mode.