aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim/lua/plugins.lua')
-rw-r--r--config/nvim/lua/plugins.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index 6eae912..e454139 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -111,7 +111,20 @@ return require("packer").startup(function()
-- lspconfig.clangd.setup { on_attach = on_attach }
-- lspconfig.rust_analyzer.setup { on_attach = on_attach }
-- need python-lsp-server and pyls-flake8
- lspconfig.pylsp.setup { on_attach = on_attach, capabilities = capabilities }
+ lspconfig.pylsp.setup {
+ on_attach = on_attach,
+ capabilities = capabilities,
+ settings = {
+ pylsp = {
+ plugins = {
+ flake8 = {
+ ignore = {'E501', 'E221', 'W503', 'E241'},
+ maxLineLength = 100,
+ },
+ },
+ },
+ },
+ }
-- brew install haskell-language-server
lspconfig.hls.setup {}