aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/health.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-28 03:28:48 +0100
committerGitHub <noreply@github.com>2023-12-28 10:28:48 +0800
commit714b075197c02d27d5c05133759ae97bed279b50 (patch)
tree11f8859706d2b77256717abb4d3df6ad130a904a /runtime/lua/vim/health.lua
parent46ceefb52be6b014dd27b6adfbca3e1c9dff0c0c (diff)
downloadrneovim-714b075197c02d27d5c05133759ae97bed279b50.tar.gz
rneovim-714b075197c02d27d5c05133759ae97bed279b50.tar.bz2
rneovim-714b075197c02d27d5c05133759ae97bed279b50.zip
docs: small fixes (#26651)
Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: WillLillis <wlillis@umass.edu>
Diffstat (limited to 'runtime/lua/vim/health.lua')
-rw-r--r--runtime/lua/vim/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua
index 6c96a703bb..23771d2807 100644
--- a/runtime/lua/vim/health.lua
+++ b/runtime/lua/vim/health.lua
@@ -251,7 +251,7 @@ local path2name = function(path)
end
local PATTERNS = { '/autoload/health/*.vim', '/lua/**/**/health.lua', '/lua/**/**/health/init.lua' }
--- :checkhealth completion function used by ex_getln.c get_healthcheck_names()
+-- :checkhealth completion function used by cmdexpand.c get_healthcheck_names()
M._complete = function()
local names = vim.tbl_flatten(vim.tbl_map(function(pattern)
return vim.tbl_map(path2name, vim.api.nvim_get_runtime_file(pattern, true))