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

docs: mention coc-diagnostics-shim #5159

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
"diagnostic.displayByAle": {
"type": "boolean",
"scope": "language-overridable",
"description": "Use Ale for display diagnostics in vim, will disable coc for display diagnostics, restart required on change.",
"description": "Use Ale, coc-diagnostics-shim.nvim, or other provider to display diagnostics in vim. This setting will disable diagnostic display using coc's handler. A restart required on change.",
"default": false
},
"diagnostic.enable": {
Expand Down
5 changes: 3 additions & 2 deletions doc/coc-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ Diagnostic~

"diagnostic.displayByAle" *coc-config-diagnostic-displayByAle*

Use Ale for display diagnostics in vim, will disable coc for display
diagnostics, restart required on change.
Use Ale, coc-diagnostics-shim.nvim, or other provider to display
diagnostics in vim. This setting will disable diagnostic display using
coc's handler. A restart required on change.

Scope: `language-overridable`, default: `false`

Expand Down
5 changes: 3 additions & 2 deletions doc/coc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2468,8 +2468,9 @@ Acceptable {action} names for |CocAction()| and |CocActionAsync()|.

"diagnosticToggle" [{enable}] *CocAction('diagnosticToggle')*

Enable/disable diagnostics on the fly, not work when `displayByAle` is
enabled. You can toggle by specifying {enable}. {enable} can be 0 or 1
Enable/disable diagnostics on the fly. This setting is ignored if
`displayByAle` is enabled. You can toggle by specifying {enable}.
{enable} can be 0 or 1

"diagnosticToggleBuffer" [{bufnr}] [{enable}] *CocAction('diagnosticToggleBuffer')*

Expand Down
6 changes: 5 additions & 1 deletion history.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2024-10-25

- Mention [davidosomething/coc-diagnostics-shim.nvim](https://github.com/davidosomething/coc-diagnostics-shim.nvim) as alternative to ALE for diagnostics display.

# 2024-08-28

- Add configuration `codeLens.display`
Expand Down Expand Up @@ -26,7 +30,7 @@
# 2024-05-29

- Break change: increase minimum vim/nvim version requirement
- vim 9.0.0438
- vim 9.0.0438
- nvim 0.8.0

# 2024-05-14
Expand Down