aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin/mason.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-07-24 20:46:17 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-07-24 20:46:35 +0200
commitcde37f523581cecfe8cd708f964f2d34934c6907 (patch)
tree9a00b820274677763b56fb68c648647d10d0e295 /after/plugin/mason.lua
parent4acd2329872ccc4a2c32b2777201461d254098b4 (diff)
downloadnvim-conf-cde37f523581cecfe8cd708f964f2d34934c6907.tar.gz
nvim-conf-cde37f523581cecfe8cd708f964f2d34934c6907.zip
Update config to mason, lsp lines, remove old plugins
Diffstat (limited to 'after/plugin/mason.lua')
-rw-r--r--after/plugin/mason.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/after/plugin/mason.lua b/after/plugin/mason.lua
new file mode 100644
index 0000000..d757d62
--- /dev/null
+++ b/after/plugin/mason.lua
@@ -0,0 +1,20 @@
+local ok, mason = pcall(require, "mason")
+if not ok then
+ return
+end
+
+local mason_lspconfig = require("mason-lspconfig")
+
+mason.setup({
+ ui = {
+ icons = {
+ package_installed = "โœ“",
+ package_pending = "โžœ",
+ package_uninstalled = "โœ—",
+ },
+ },
+})
+
+mason_lspconfig.setup({
+ automatic_installation = true,
+})