From 3df63dd3bc42cd94a60392812a5b43dd27596660 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Mon, 9 Dec 2024 15:39:38 -0500 Subject: [PATCH] added go and python lsp's and the ruff python linter and formatter --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 3a394a9c..cec7cfa5 100644 --- a/init.lua +++ b/init.lua @@ -546,8 +546,8 @@ 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 = {}, - -- pyright = {}, + gopls = {}, + pyright = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -587,6 +587,7 @@ require('lazy').setup({ local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { 'stylua', -- Used to format Lua code + 'ruff', -- Used to lint and format Python code }) require('mason-tool-installer').setup { ensure_installed = ensure_installed }