Many times via use-package and/or updating the version of the emacs-overlay I’m pointing to: https://github.com/nix-community/emacs-overlay

(use-package lsp-mode
...
  :config
  (setq lsp-diagnostics-provider :flycheck
    lsp-modeline-workspace-status-enable t
    lsp-modeline-diagnostics-enable nil
    lsp-modeline-code-actions-enable nil
    lsp-eldoc-render-all nil
    lsp-headerline-breadcrumb-enable nil
    )

  (require 'lsp-modeline)
  (autoload lsp-modeline-workspace-status-mode lsp-modeline-workspace-status nil t nil)
...

Solution:

Delete:

(autoload lsp-modeline-workspace-status-mode lsp-modeline-workspace-status nil t nil)

My site is free of ads and trackers. Was this post helpful to you? Why not BuyMeACoffee


Reference:

  1. Emacs manual
  2. Lisp