From 617112d00cc555980750a85a1f68eb9de5d938be Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Wed, 29 Jun 2022 08:30:29 +0200 Subject: Refactor lsp module --- after/plugin/lsp-installer.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 after/plugin/lsp-installer.lua (limited to 'after/plugin/lsp-installer.lua') diff --git a/after/plugin/lsp-installer.lua b/after/plugin/lsp-installer.lua new file mode 100644 index 0000000..1b3b06d --- /dev/null +++ b/after/plugin/lsp-installer.lua @@ -0,0 +1,14 @@ +local ok, lsp_installer = pcall(require, "nvim-lsp-installer") +if not ok then + return +end +lsp_installer.setup({ + automatic_installation = true, -- automatically detect which servers to install (based on which servers are set up via lspconfig) + ui = { + icons = { + server_installed = "✓", + server_pending = "➜", + server_uninstalled = "✗" + } + } +}) -- cgit v1.2.3