diff --git a/dots/.config/nvim/lua/plugins/configs/lsp.lua b/dots/.config/nvim/lua/plugins/configs/lsp.lua index 50e4a30e..81b0ce70 100644 --- a/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -331,35 +331,9 @@ return { }) -- NOTE: PYTHON LSP - lspconfig.pylsp.setup({ - filetypes = { "python" }, - settings = { - formatCommand = { "black" }, - pylsp = { - plugins = { - jedi_completion = { - include_params = true, - fuzzy = true, - eager = true, - }, - jedi_signature_help = { enabled = true }, - pyflakes = { enabled = true }, - pycodestyle = { - enabled = true, - ignore = { "E501", "E231", "W503", "E731" }, - maxLineLength = 120, - }, - mypy = { enabled = true }, - yapf = { enabled = true }, - rope_completion = { - enabled = true, - eager = true, - }, - }, - }, - }, + lspconfig.pyright.setup({ capabilities = lsp_capabilities, - on_attach = on_attach, + on_attach = on_attach }) lspconfig.yamlls.setup({