diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2024-10-20 11:56:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-20 11:56:47 -0700 |
| commit | 84f867753f659bfd9319f75bd5eb273a315f2da5 (patch) | |
| tree | 914f91e2da2943d4bd82f958eb54f97b725290e6 /lua/lspconfig/configs/lua_ls.lua | |
| parent | fix(health): improve version reporting #3388 (diff) | |
| download | nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.tar nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.tar.gz nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.tar.bz2 nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.tar.lz nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.tar.xz nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.tar.zst nvim-lspconfig-84f867753f659bfd9319f75bd5eb273a315f2da5.zip | |
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.
Diffstat (limited to 'lua/lspconfig/configs/lua_ls.lua')
0 files changed, 0 insertions, 0 deletions
