Add python LSP

This commit is contained in:
2026-03-02 14:45:25 +01:00
parent da56779dbf
commit 4f013a8700

View File

@ -45,9 +45,12 @@ return {
-- Prolog
vim.lsp.enable('prolog_ls')
-- Python
vim.lsp.enable('pylsp')
-- Auto format
vim.api.nvim_create_autocmd("BufWritePre", {
pattern = {"*.rs", "*.hs"},
pattern = {"*.rs", "*.hs", "*.py"},
callback = function()
vim.lsp.buf.format({ async = false })
end,