diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-10-30 11:39:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 11:39:38 -0400 |
commit | 19dab2ead2dfc49c24e004fcdbbef6948b7bde94 (patch) | |
tree | d42b3cc266d34ff80736060dd52ad3a30a1a8ccd /runtime/lua/man/health.lua | |
parent | 6e84a46abcc01de11f52cdd3d13cc3ef2ce95e69 (diff) | |
parent | cc7c378bf319d62491ca121ab598397428e4ced4 (diff) | |
download | rneovim-19dab2ead2dfc49c24e004fcdbbef6948b7bde94.tar.gz rneovim-19dab2ead2dfc49c24e004fcdbbef6948b7bde94.tar.bz2 rneovim-19dab2ead2dfc49c24e004fcdbbef6948b7bde94.zip |
Merge #20873 from justinmk/checkhealth
Diffstat (limited to 'runtime/lua/man/health.lua')
-rw-r--r-- | runtime/lua/man/health.lua | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/runtime/lua/man/health.lua b/runtime/lua/man/health.lua deleted file mode 100644 index 11d7148216..0000000000 --- a/runtime/lua/man/health.lua +++ /dev/null @@ -1,20 +0,0 @@ -local M = {} - -local report_ok = vim.fn['health#report_ok'] -local report_error = vim.fn['health#report_error'] - -local function check_runtime_file(name) - local path = vim.env.VIMRUNTIME .. '/' .. name - if vim.loop.fs_stat(path) then - report_error(string.format('%s detected. Please delete %s', name, path)) - else - report_ok(string.format('%s not in $VIMRUNTIME', name)) - end -end - -function M.check() - check_runtime_file('plugin/man.vim') - check_runtime_file('autoload/man.vim') -end - -return M |