mirror of
https://github.com/neovim/neovim.git
synced 2026-04-25 08:44:06 +00:00
refactor(health): refactor provider healthchecks
* Prefer pure Lua functions over vim.fn * Split up provider healthchecks into separate modules to help manage complexity
This commit is contained in:
committed by
dundargoc
parent
b49d4e18a6
commit
164f1ea06d
@@ -36,7 +36,7 @@ describe(':checkhealth', function()
|
||||
it('completions can be listed via getcompletion()', function()
|
||||
clear()
|
||||
eq('nvim', getcompletion('nvim', 'checkhealth')[1])
|
||||
eq('provider', getcompletion('prov', 'checkhealth')[1])
|
||||
eq('provider.clipboard', getcompletion('prov', 'checkhealth')[1])
|
||||
eq('vim.lsp', getcompletion('vim.ls', 'checkhealth')[1])
|
||||
neq('vim', getcompletion('^vim', 'checkhealth')[1]) -- should not complete vim.health
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user