summaryrefslogtreecommitdiffstatshomepage
path: root/nvim/lua/plugins/lsp-installer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/lsp-installer.lua')
-rw-r--r--nvim/lua/plugins/lsp-installer.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/nvim/lua/plugins/lsp-installer.lua b/nvim/lua/plugins/lsp-installer.lua
index da61bbc..199fd37 100644
--- a/nvim/lua/plugins/lsp-installer.lua
+++ b/nvim/lua/plugins/lsp-installer.lua
@@ -1,4 +1,7 @@
-local lsp_installer = require("nvim-lsp-installer")
+local status_ok, lsp_installer = pcall(require, "nvim-lsp-installer")
+if not status_ok then
+ print("Failed to require nvim-lsp-installer")
+end
-- Provide settings first!
lsp_installer.settings {