Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global-auto-highlight-symbol-mode doesn't work in go-mode #22

Open
dolzenko opened this issue Jun 14, 2023 · 1 comment
Open

global-auto-highlight-symbol-mode doesn't work in go-mode #22

dolzenko opened this issue Jun 14, 2023 · 1 comment

Comments

@dolzenko
Copy link

dolzenko commented Jun 14, 2023

First of all - big thank you for this package, ❤️ it. Though having minor problem - I have (global-auto-highlight-symbol-mode t) in my config and it works for e.g. ruby-mode, but for some reason I have to activate the package manually for go-mode, is there an easy way to debug? Thanks.

@jcs090218
Copy link
Member

Global minor mode is often not very reliable, so I normally add something like this to my config:

(add-hook 'go-mode-hook #'auto-highlight-symbol-mode)

Hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants