From afbf49f0a65a0ea77ecba455f17f592efe3089d8 Mon Sep 17 00:00:00 2001 From: Leander <80996591+m0ntagur@users.noreply.github.com> Date: Sat, 13 Aug 2022 00:27:04 +0200 Subject: Add files via upload --- mason.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mason.lua (limited to 'mason.lua') 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, +} -- cgit v1.3.1