aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/clipboard
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-05-22 16:07:45 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-05-22 20:15:17 +0200
commite8f7025de1d8b7c8bbe747736e4c46dcd6e73133 (patch)
tree6dba4440bc8bef6a9a205b08e5ebb18e518a420f /runtime/lua/vim/provider/clipboard
parent339129ebc9503883a3f060d3eff620d67a9eadaf (diff)
downloadrneovim-e8f7025de1d8b7c8bbe747736e4c46dcd6e73133.tar.gz
rneovim-e8f7025de1d8b7c8bbe747736e4c46dcd6e73133.tar.bz2
rneovim-e8f7025de1d8b7c8bbe747736e4c46dcd6e73133.zip
docs: move vim.health documentation to lua.txt
`vim.health` is not a "plugin" but part of our Lua API and the documentation should reflect that. This also helps make the documentation maintenance easier as it is now generated.
Diffstat (limited to 'runtime/lua/vim/provider/clipboard')
-rw-r--r--runtime/lua/vim/provider/clipboard/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/provider/clipboard/health.lua b/runtime/lua/vim/provider/clipboard/health.lua
index e44f7d32cc..0af6a44330 100644
--- a/runtime/lua/vim/provider/clipboard/health.lua
+++ b/runtime/lua/vim/provider/clipboard/health.lua
@@ -9,7 +9,7 @@ function M.check()
os.getenv('TMUX')
and vim.fn.executable('tmux') == 1
and vim.fn.executable('pbpaste') == 1
- and not health.cmd_ok('pbpaste')
+ and not health._cmd_ok('pbpaste')
then
local tmux_version = string.match(vim.fn.system('tmux -V'), '%d+%.%d+')
local advice = {