diff options
| author | Leander <80996591+m0ntagur@users.noreply.github.com> | 2022-08-13 00:31:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-13 00:31:07 +0200 |
| commit | 0561e714bb476d936e51f6e49292542712255dec (patch) | |
| tree | 876442c13651dc9946a0fc3c0484b73549fb1540 /nvim/plugin/mason.lua | |
| parent | 83767e5f1d6efa11a1fb5f3e48208b125e0f52d3 (diff) | |
Add files via upload
Diffstat (limited to 'nvim/plugin/mason.lua')
| -rw-r--r-- | nvim/plugin/mason.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nvim/plugin/mason.lua b/nvim/plugin/mason.lua new file mode 100644 index 0000000..91952e4 --- /dev/null +++ b/nvim/plugin/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,
+}
|
