python lsp/form & undotree

This commit is contained in:
BearTaffy 2024-06-28 18:47:59 +03:00
parent 7af6f35d25
commit a29678ae83
1 changed files with 3 additions and 2 deletions

View File

@ -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,