Skip to content

Commit f306b1a

Browse files
authored
Fix documentation for `lsp-modeline-diagnostics-scope' (#2296)
:project is not a valid option; the corresponding setting is :workspace
1 parent bc25dfb commit f306b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/page/main-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ To see all error statistics in the modeline you can enable `lsp-modeline-diagnos
3939

4040
```elisp
4141
(with-eval-after-load 'lsp-mode
42-
;; :project/:workspace/:file
43-
(setq lsp-modeline-diagnostics-scope :project))
42+
;; :global/:workspace/:file
43+
(setq lsp-modeline-diagnostics-scope :workspace))
4444
```
4545

4646
_Tip:_ To find out the global errors you might use `lsp-treemacs-errors-list`.

0 commit comments

Comments
 (0)