diff --git a/ftplugin/python.lua b/ftplugin/python.lua index 730b750..fe989a2 100644 --- a/ftplugin/python.lua +++ b/ftplugin/python.lua @@ -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 diff --git a/lua/plugins.lua b/lua/plugins.lua index 2559058..3e9bfd6 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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 {