Adjust pylsp max line length

This commit is contained in:
Pavle Portic 2023-11-10 13:14:58 +01:00
parent 39ad3131b1
commit 7b87cab17a
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 12 additions and 1 deletions

View File

@ -59,7 +59,17 @@ lspconfig.lua_ls.setup(lsp_zero.nvim_lua_ls())
-- protobuf
lspconfig.bufls.setup({})
-- python
lspconfig.pylsp.setup({})
lspconfig.pylsp.setup({
settings = {
pylsp = {
plugins = {
pycodestyle = {
maxLineLength = 100,
},
},
},
},
})
lspconfig.pyright.setup({})
-- typescript
lspconfig.eslint.setup({})
@ -107,6 +117,7 @@ lspconfig.terraformls.setup({})
-- json
lspconfig.jsonls.setup({})
-- Install LSP servers automatically
require("mason-lspconfig").setup({ automatic_installation = true })
-- Customize keymaps