summaryrefslogtreecommitdiffstats
path: root/lua/user/lsp
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-31 15:12:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2022-04-07 15:30:27 +0200
commit5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065 (patch)
treeaca0ef590dfc37c227bdcc861807dc0023340b3f /lua/user/lsp
parent8f3501838060d37affac7025d1ea06450fa7de85 (diff)
downloadvim-5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065.zip
vim-5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065.tar.gz
add init failed msg
Diffstat (limited to 'lua/user/lsp')
-rw-r--r--lua/user/lsp/init.lua1
-rw-r--r--lua/user/lsp/lsp-installer.lua1
-rw-r--r--lua/user/lsp/null-ls.lua1
-rw-r--r--lua/user/lsp/settings/jsonls.lua1
4 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/lsp/init.lua b/lua/user/lsp/init.lua
index add8bf8..9dff1be 100644
--- a/lua/user/lsp/init.lua
+++ b/lua/user/lsp/init.lua
@@ -1,5 +1,6 @@
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
+ print "lspconfig init failed"
return
end
diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua
index 7675878..d1bda00 100644
--- a/lua/user/lsp/lsp-installer.lua
+++ b/lua/user/lsp/lsp-installer.lua
@@ -1,5 +1,6 @@
local status_ok, lsp_installer = pcall(require, "nvim-lsp-installer")
if not status_ok then
+ print "nvim-lsp-installer init failed"
return
end
diff --git a/lua/user/lsp/null-ls.lua b/lua/user/lsp/null-ls.lua
index 15720d1..1dc7ace 100644
--- a/lua/user/lsp/null-ls.lua
+++ b/lua/user/lsp/null-ls.lua
@@ -1,5 +1,6 @@
local null_ls_status_ok, null_ls = pcall(require, "null-ls")
if not null_ls_status_ok then
+ print "null-ls init failed"
return
end
diff --git a/lua/user/lsp/settings/jsonls.lua b/lua/user/lsp/settings/jsonls.lua
index 647be26..da58c44 100644
--- a/lua/user/lsp/settings/jsonls.lua
+++ b/lua/user/lsp/settings/jsonls.lua
@@ -1,6 +1,7 @@
local default_schemas = nil
local status_ok, jsonls_settings = pcall(require, "nlspsettings.jsonls")
if not status_ok then
+ print "nlspsettings.jsonls init failed"
return
else
default_schemas = jsonls_settings.get_default_schemas()