aboutsummaryrefslogtreecommitdiff
path: root/mason.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mason.lua')
-rw-r--r--mason.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/mason.lua b/mason.lua
new file mode 100644
index 0000000..91952e4
--- /dev/null
+++ b/mason.lua
@@ -0,0 +1,24 @@
+local status, mason = pcall(require, 'mason')
+if (not status) then return end
+
+local status2, masonlspconfig = pcall(require, 'mason-lspconfig')
+if (not status2) then return end
+
+mason.setup({
+ ui = {
+ icons = {
+ package_installed = "✓",
+ package_pending = "➜",
+ package_uninstalled = "✗"
+ }
+ }
+})
+
+masonlspconfig.setup {
+
+ ensure_installed = {},
+
+ -- false: Servers are not automatically installed.
+ -- true: All servers set up via lspconfig are automatically installed.
+ automatic_installation = false,
+}