Query

Does anyone know how to diminish Yasnippet on the Emacs mode line? I’ve tried everything I can think of and have consulted with Duck Duck Go but I’m still getting the annoying “yas” on my mode line.

This does not work

(use-package yasnippet
  :ensure t
  :diminish yas-global-mode
  :config (yas-global-mode 1))

nor does substituting (yas-mode | yasnippet-mode | yasnippet-global-mode), and probably some others I’ve forgotten, for yas-global-mode. I also tried adding a

(diminish 'yas-global-mode)

(and variations) to the :config section of use-package.

If you have any wisdom to share, please leave a comment.

This entry was posted in General and tagged . Bookmark the permalink.