summaryrefslogtreecommitdiffstats
path: root/lua
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
parent8f3501838060d37affac7025d1ea06450fa7de85 (diff)
downloadvim-5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065.zip
vim-5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065.tar.gz
add init failed msg
Diffstat (limited to 'lua')
-rw-r--r--lua/user/autopairs.lua1
-rw-r--r--lua/user/bufferline.lua1
-rw-r--r--lua/user/cmp.lua1
-rw-r--r--lua/user/comment.lua1
-rw-r--r--lua/user/gitsigns.lua1
-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
-rw-r--r--lua/user/telescope.lua1
-rw-r--r--lua/user/treesitter.lua1
11 files changed, 11 insertions, 0 deletions
diff --git a/lua/user/autopairs.lua b/lua/user/autopairs.lua
index 577e571..96be89e 100644
--- a/lua/user/autopairs.lua
+++ b/lua/user/autopairs.lua
@@ -1,6 +1,7 @@
-- Setup nvim-cmp.
local status_ok, npairs = pcall(require, "nvim-autopairs")
if not status_ok then
+ print "nvim-autopairs init failed"
return
end
diff --git a/lua/user/bufferline.lua b/lua/user/bufferline.lua
index dff1e43..9e0a958 100644
--- a/lua/user/bufferline.lua
+++ b/lua/user/bufferline.lua
@@ -1,5 +1,6 @@
local status_ok, bufferline = pcall(require, "bufferline")
if not status_ok then
+ print "bufferline init failed"
return
end
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua
index bf28333..81e8160 100644
--- a/lua/user/cmp.lua
+++ b/lua/user/cmp.lua
@@ -1,5 +1,6 @@
local cmp_status_ok, cmp = pcall(require, "cmp")
if not cmp_status_ok then
+ print "cmp init failed"
return
end
diff --git a/lua/user/comment.lua b/lua/user/comment.lua
index 7f8870f..7d36862 100644
--- a/lua/user/comment.lua
+++ b/lua/user/comment.lua
@@ -1,5 +1,6 @@
local status_ok, comment = pcall(require, "Comment")
if not status_ok then
+ print "Comment init failed"
return
end
diff --git a/lua/user/gitsigns.lua b/lua/user/gitsigns.lua
index 923a2ea..ca88cdf 100644
--- a/lua/user/gitsigns.lua
+++ b/lua/user/gitsigns.lua
@@ -1,5 +1,6 @@
local status_ok, gitsigns = pcall(require, "gitsigns")
if not status_ok then
+ print "gitsigns init failed"
return
end
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()
diff --git a/lua/user/telescope.lua b/lua/user/telescope.lua
index 29d2885..86d1e51 100644
--- a/lua/user/telescope.lua
+++ b/lua/user/telescope.lua
@@ -1,5 +1,6 @@
local status_ok, telescope = pcall(require, "telescope")
if not status_ok then
+ print "telescope init failed"
return
end
diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua
index 889373f..5ca5444 100644
--- a/lua/user/treesitter.lua
+++ b/lua/user/treesitter.lua
@@ -1,5 +1,6 @@
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
+ print "nvim-treesitter.configs init failed"
return
end