@@ -217,9 +217,6 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
217217end --- @diagnostic disable-next-line : undefined-field
218218vim .opt .rtp :prepend (lazypath )
219219
220- require ' custom.keymaps'
221- require ' custom.options'
222-
223220-- [[ Configure and install plugins ]]
224221--
225222-- To check the current status of your plugins, run
@@ -621,7 +618,7 @@ require('lazy').setup({
621618 local servers = {
622619 -- clangd = {},
623620 -- gopls = {},
624- pyright = {},
621+ pylsp = {},
625622 -- rust_analyzer = {},
626623 -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
627624 --
@@ -661,6 +658,8 @@ require('lazy').setup({
661658 local ensure_installed = vim .tbl_keys (servers or {})
662659 vim .list_extend (ensure_installed , {
663660 ' stylua' , -- Used to format Lua code
661+ ' pylsp' ,
662+ ' black' ,
664663 })
665664 require (' mason-tool-installer' ).setup { ensure_installed = ensure_installed }
666665
@@ -714,7 +713,7 @@ require('lazy').setup({
714713 formatters_by_ft = {
715714 lua = { ' stylua' },
716715 -- Conform can also run multiple formatters sequentially
717- -- python = { " isort", " black" },
716+ python = { ' isort' , ' black' },
718717 --
719718 -- You can use 'stop_after_first' to run the first available formatter from the list
720719 -- javascript = { "prettierd", "prettier", stop_after_first = true },
@@ -970,5 +969,8 @@ require('lazy').setup({
970969 },
971970})
972971
972+ require ' custom.keymaps'
973+ require ' custom.options'
974+
973975-- The line beneath this is called `modeline`. See `:help modeline`
974976-- vim: ts=2 sts=2 sw=2 et
0 commit comments