aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/man
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-01-25 18:23:01 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-01-25 18:23:01 +0000
commit142d9041391780ac15b89886a54015fdc5c73995 (patch)
tree0f6b5cac1a60810a03f52826c9e67c9e2780b033 /runtime/lua/man
parentad86b5db74922285699ab2a1dbb2ff20e6268a33 (diff)
parent3c48d3c83fc21dbc0841f9210f04bdb073d73cd1 (diff)
downloadrneovim-142d9041391780ac15b89886a54015fdc5c73995.tar.gz
rneovim-142d9041391780ac15b89886a54015fdc5c73995.tar.bz2
rneovim-142d9041391780ac15b89886a54015fdc5c73995.zip
Merge remote-tracking branch 'upstream/master' into userreg
Diffstat (limited to 'runtime/lua/man')
-rw-r--r--runtime/lua/man/health.lua20
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