diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/health.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/lspconfig/health.lua b/lua/lspconfig/health.lua index 51779132..d922fe85 100644 --- a/lua/lspconfig/health.lua +++ b/lua/lspconfig/health.lua @@ -2,6 +2,9 @@ local M = {} function M.check() local configs = require 'lspconfig/configs' + if not configs or #configs == 0 then + vim.fn['health#report_warn'] [[Can't find any config.]] + end for _, top_level_config in pairs(configs) do -- Only check configs that have a make_config function. if not (top_level_config.make_config == nil) then |
