I would like to enable lsp-headerline-breadcrumb-mode in every buffer where lsp-mode is active.
I'd know how to do it for every mode, for example
(use-package go-mode :ensure t :config (add-hook 'go-mode-hook (lambda () ;; other stuff (lsp-headerline-breadcrumb-mode t) ) ) )
But I fail to do it for every buffer with
With this, lsp-mode doesn't work at all:
(use-package lsp-mode :ensure t :commands (lsp lsp-deferred) :hook (go-mode . lsp-deferred) (python-mode . (lambda () (require 'lsp-python-ms) (lsp-deferred))) :config (setq lsp-diagnostic-package :auto ;; stuff deleted lsp-print-performance nil ) (add-hook 'lsp-mode-hook (lambda () ((lsp-headerline-breadcrumb-mode t)) ) ) )