fix: merge all provider healthchecks into a single health.lua

This will help manage the overly granular checkhealth completion to go
from

```
vim.health
vim.lsp
vim.provider.clipboard
vim.provider.node
vim.provider.perl
vim.provider.python
vim.provider.ruby
vim.treesitter
```

to

```
vim.health
vim.lsp
vim.provider
vim.treesitter
```
This commit is contained in:
dundargoc
2024-05-22 20:40:20 +02:00
committed by dundargoc
parent e8f7025de1
commit 01b4da65c2
6 changed files with 295 additions and 309 deletions

View File

@@ -43,7 +43,7 @@ describe(':checkhealth', function()
it('completions can be listed via getcompletion()', function()
clear()
eq('vim.health', getcompletion('vim', 'checkhealth')[1])
eq('vim.provider.clipboard', getcompletion('vim.prov', 'checkhealth')[1])
eq('vim.provider', getcompletion('vim.prov', 'checkhealth')[1])
eq('vim.lsp', getcompletion('vim.ls', 'checkhealth')[1])
end)