-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to run healthcheck for "vim.lsp" plugin. Exception #18602
Comments
This is the check for the size of the log file, which (now) is almost never written to unless you set the log level yourself. You need to replace the mentioned line 20 in local log_file = vim.loop.fs_stat(log_path)
local log_size = log_file and logfile.size or 0 |
Where should I place |
It's under |
difficult... |
Not really, but you don't have to do it. You'll just have to wait for someone else, then. |
By the way, when I set health.lua, the number of errors increased.
|
Problem: vim.lsp: require("vim.lsp.health").check() ======================================================================== - ERROR: Failed to run healthcheck for "vim.lsp" plugin. Exception: function health#check, line 20 Vim(eval):E5108: Error executing lua ...m/HEAD-6613f58/share/nvim/runtime/lua/vim/lsp/health.lua:20: attempt to index a nil value stack traceback: ...m/HEAD-6613f58/share/nvim/runtime/lua/vim/lsp/health.lua:20: in function 'check' [string "luaeval()"]:1: in main chunk Solution: Check for nil. fix #18602
Problem: vim.lsp: require("vim.lsp.health").check() ======================================================================== - ERROR: Failed to run healthcheck for "vim.lsp" plugin. Exception: function health#check, line 20 Vim(eval):E5108: Error executing lua ...m/HEAD-6613f58/share/nvim/runtime/lua/vim/lsp/health.lua:20: attempt to index a nil value stack traceback: ...m/HEAD-6613f58/share/nvim/runtime/lua/vim/lsp/health.lua:20: in function 'check' [string "luaeval()"]:1: in main chunk Solution: Check for nil. fix neovim#18602
confirmed. Thank you! |
Problem: vim.lsp: require("vim.lsp.health").check() ======================================================================== - ERROR: Failed to run healthcheck for "vim.lsp" plugin. Exception: function health#check, line 20 Vim(eval):E5108: Error executing lua ...m/HEAD-6613f58/share/nvim/runtime/lua/vim/lsp/health.lua:20: attempt to index a nil value stack traceback: ...m/HEAD-6613f58/share/nvim/runtime/lua/vim/lsp/health.lua:20: in function 'check' [string "luaeval()"]:1: in main chunk Solution: Check for nil. fix neovim#18602
Neovim version (nvim -v)
NVIM v0.8.0-dev+1684-g6613f58ce
Vim (not Nvim) behaves the same?
no, vim
Operating system/version
macOS 12.3.1
Terminal name/version
iTerm2
$TERM environment variable
screen-256color
Installation
home brew
How to reproduce the issue
Start neovim.
run checkhealth.
Expected behavior
checkhealth does not detect any errors.
Actual behavior
The text was updated successfully, but these errors were encountered: