aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin/lsp-installer.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-06-29 08:30:29 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-06-29 08:30:53 +0200
commit617112d00cc555980750a85a1f68eb9de5d938be (patch)
tree52582ef89ee5ce63521f57ddd08210b0b77894dd /after/plugin/lsp-installer.lua
parent9764c6b601c99fc8e48186a76956eee6529b7485 (diff)
downloadnvim-conf-617112d00cc555980750a85a1f68eb9de5d938be.tar.gz
nvim-conf-617112d00cc555980750a85a1f68eb9de5d938be.zip
Refactor lsp module
Diffstat (limited to 'after/plugin/lsp-installer.lua')
-rw-r--r--after/plugin/lsp-installer.lua14
1 files changed, 14 insertions, 0 deletions
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 = "โœ—"
+ }
+ }
+})