File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -590,7 +590,7 @@ require('lazy').setup({
590
590
local servers = {
591
591
-- clangd = {},
592
592
-- gopls = {},
593
- -- pyright = {},
593
+ pyright = {},
594
594
-- rust_analyzer = {},
595
595
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
596
596
--
@@ -633,6 +633,8 @@ require('lazy').setup({
633
633
local ensure_installed = vim .tbl_keys (servers or {})
634
634
vim .list_extend (ensure_installed , {
635
635
' stylua' , -- Used to format Lua code
636
+ ' isort' ,
637
+ ' black' , -- Used to format Python code
636
638
})
637
639
require (' mason-tool-installer' ).setup { ensure_installed = ensure_installed }
638
640
@@ -686,7 +688,7 @@ require('lazy').setup({
686
688
formatters_by_ft = {
687
689
lua = { ' stylua' },
688
690
-- Conform can also run multiple formatters sequentially
689
- -- python = { " isort", " black" },
691
+ python = { ' isort' , ' black' },
690
692
--
691
693
-- You can use 'stop_after_first' to run the first available formatter from the list
692
694
-- javascript = { "prettierd", "prettier", stop_after_first = true },
You can’t perform that action at this time.
0 commit comments