diff options
| author | Leander <80996591+m0ntagur@users.noreply.github.com> | 2022-08-13 00:27:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-13 00:27:04 +0200 |
| commit | afbf49f0a65a0ea77ecba455f17f592efe3089d8 (patch) | |
| tree | 35a7a053f07b429fe9e5de920d51ae5a0431dc76 /mason.lua | |
| parent | a61e457e4c14c7c16b9a545418e14722370dc10a (diff) | |
Add files via upload
Diffstat (limited to 'mason.lua')
| -rw-r--r-- | mason.lua | 24 |
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,
+}
|
