Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(health): "attempt to index cmd (function)" #3390
Problem: `cmd` may be a random function instead of an executable command. ERROR Failed to run healthcheck for "lspconfig" plugin. Exception: .../lua/lspconfig/health.lua:127: attempt to index field 'cmd' (a function value) Solution: Skip attempt to invoke `<cmd> --version` if `cmd` is a function.
- Loading branch information