aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/func
diff options
context:
space:
mode:
authorMicah Halter <micah.halter@gtri.gatech.edu>2025-03-28 08:46:10 -0400
committerGitHub <noreply@github.com>2025-03-28 05:46:10 -0700
commit5554fcc28683e5d182198158b293851a96f0d6a0 (patch)
tree119b57913544f08d9fc40763932dcfb9d3f1767a /runtime/lua/vim/func
parent95ab723995f1cc1a11c62355fbac64597526d47e (diff)
downloadrneovim-5554fcc28683e5d182198158b293851a96f0d6a0.tar.gz
rneovim-5554fcc28683e5d182198158b293851a96f0d6a0.tar.bz2
rneovim-5554fcc28683e5d182198158b293851a96f0d6a0.zip
fix(lsp): warn on missing config in :checkhealth #33087
Problem When calling `:checkhealth vim.lsp` after the user has enabled a language server with `vim.lsp.enable` that has no configuration a runtime error is hit because the code expects for a configuration to exist. Solution: Check if a configuration was returned before parsing it, if it isn't returned then warn the user that the server has been enabled but a configuration was not found.
Diffstat (limited to 'runtime/lua/vim/func')
0 files changed, 0 insertions, 0 deletions