Skip to content

Commit

Permalink
mention coc-diagnostics-shim in docs (#5159)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething authored Oct 25, 2024
1 parent 9fd8578 commit 5fdf3d6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
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

0 comments on commit 5fdf3d6

Please sign in to comment.