Improve python configuration

This commit is contained in:
Julien LE PAGE 2023-07-17 10:19:15 +02:00
parent fe9236314a
commit f241fba3d0
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
vim.o.textwidth = 80
vim.o.tabstop = 2
vim.o.shiftwidth = 2
vim.o.expandtab = true
-- remove white spaces at end of line

View File

@ -195,7 +195,7 @@ local function manage_plugins()
packadd_hook = function()
local capabilities = require("cmp_nvim_lsp").default_capabilities()
local lsp_config = require("lspconfig")
local servers = { "clangd", "rust_analyzer" }
local servers = { "clangd", "rust_analyzer", "pylsp" }
for _, lsp in ipairs(servers) do
lsp_config[lsp].setup {