diff --git a/init.lua b/init.lua index b7fa032f..0c8b6830 100644 --- a/init.lua +++ b/init.lua @@ -610,7 +610,7 @@ require('lazy').setup({ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { -- clangd = {}, - -- gopls = {}, + gopls = {}, pyright = {}, rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs @@ -651,6 +651,11 @@ require('lazy').setup({ local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { 'stylua', -- Used to format Lua code + 'pyright', + 'rust-analyzer', + 'delve', + 'debugpy', + 'goimports', }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } @@ -705,6 +710,7 @@ require('lazy').setup({ lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially python = { 'isort', 'black' }, + go = { 'goimports' }, -- -- You can use 'stop_after_first' to run the first available formatter from the list -- javascript = { "prettierd", "prettier", stop_after_first = true },