From a29678ae8376e1d15fc9563fab51c33f27bf2779 Mon Sep 17 00:00:00 2001 From: BearTaffy Date: Fri, 28 Jun 2024 18:47:59 +0300 Subject: [PATCH] python lsp/form & undotree --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 2d1a8265..289b76f1 100644 --- a/init.lua +++ b/init.lua @@ -141,7 +141,7 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically - + 'mbbill/undotree', -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following -- keys can be used to configure plugin behavior/loading/etc. @@ -321,7 +321,6 @@ require('lazy').setup({ end, { desc = '[S]earch [N]eovim files' }) end, }, - { -- LSP Configuration & Plugins 'neovim/nvim-lspconfig', dependencies = { @@ -566,6 +565,7 @@ require('lazy').setup({ end, formatters_by_ft = { lua = { 'stylua' }, + python = { 'black' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- @@ -682,6 +682,7 @@ require('lazy').setup({ { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'path' }, + { name = 'pyright' }, }, } end,