Improve python configuration
This commit is contained in:
parent
fe9236314a
commit
f241fba3d0
@ -1,4 +1,7 @@
|
|||||||
vim.o.textwidth = 80
|
vim.o.textwidth = 80
|
||||||
|
|
||||||
|
vim.o.tabstop = 2
|
||||||
|
vim.o.shiftwidth = 2
|
||||||
vim.o.expandtab = true
|
vim.o.expandtab = true
|
||||||
|
|
||||||
-- remove white spaces at end of line
|
-- remove white spaces at end of line
|
||||||
|
|||||||
@ -195,7 +195,7 @@ local function manage_plugins()
|
|||||||
packadd_hook = function()
|
packadd_hook = function()
|
||||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
local lsp_config = require("lspconfig")
|
local lsp_config = require("lspconfig")
|
||||||
local servers = { "clangd", "rust_analyzer" }
|
local servers = { "clangd", "rust_analyzer", "pylsp" }
|
||||||
|
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lsp_config[lsp].setup {
|
lsp_config[lsp].setup {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user