diff options
author | Javier López <graulopezjavier@gmail.com> | 2021-09-23 20:33:43 -0500 |
---|---|---|
committer | Javier López <graulopezjavier@gmail.com> | 2021-10-04 16:51:54 -0500 |
commit | 8b43b07333bc8ae9ca347daffb09f2bdf50af3ed (patch) | |
tree | 33ae4e093f8040cad8f7177828957f7325175230 /test/functional/plugin/health_spec.lua | |
parent | 8f2a8b50da8766d854c8733fc08eeb60188d5383 (diff) | |
download | rneovim-8b43b07333bc8ae9ca347daffb09f2bdf50af3ed.tar.gz rneovim-8b43b07333bc8ae9ca347daffb09f2bdf50af3ed.tar.bz2 rneovim-8b43b07333bc8ae9ca347daffb09f2bdf50af3ed.zip |
feat(ex_checkhealth): provide function for command line completion
Move away from providing completion with ExpandRTDir to ExpandGeneric
providing the function get_healthcheck_name which caches the results for
the current command line prompt.
It does the almost the same thing the Vim function 'get_healthcheck'
implemented in 'runtime/autoload/health.vim' does.
Diffstat (limited to 'test/functional/plugin/health_spec.lua')
-rw-r--r-- | test/functional/plugin/health_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/plugin/health_spec.lua b/test/functional/plugin/health_spec.lua index c5b8df488b..2a86391e76 100644 --- a/test/functional/plugin/health_spec.lua +++ b/test/functional/plugin/health_spec.lua @@ -36,6 +36,7 @@ describe(':checkhealth', function() clear() eq('nvim', getcompletion('nvim', 'checkhealth')[1]) eq('provider', getcompletion('prov', 'checkhealth')[1]) + eq('vim.lsp', getcompletion('vim.ls', 'checkhealth')[1]) end) end) |