You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: init.lua
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -683,6 +683,18 @@ require('lazy').setup({
683
683
-- But for many setups, the LSP (`ts_ls`) will work just fine
684
684
-- ts_ls = {},
685
685
--
686
+
pylsp= {
687
+
settings= {
688
+
pylsp= {
689
+
plugins= {
690
+
pylint= { enabled=true },
691
+
pycodestyle= { enabled=false },
692
+
pyflakes= { enabled=false },
693
+
flake8= { enabled=false },
694
+
},
695
+
},
696
+
},
697
+
},
686
698
687
699
lua_ls= {
688
700
-- cmd = { ... },
@@ -733,6 +745,14 @@ require('lazy').setup({
733
745
end,
734
746
},
735
747
}
748
+
-- NOTE: fix is found in this issue; https://github.com/nvim-lua/kickstart.nvim/pull/1475/files
749
+
-- Installed LSPs are configured and enabled automatically with mason-lspconfig
750
+
-- The loop below is for overriding the default configuration of LSPs with the ones in the servers table
751
+
forserver_name, configinpairs(servers) do
752
+
vim.lsp.config(server_name, config)
753
+
end
754
+
-- NOTE: Some servers may require an old setup until they are updated. For the full list refer here: https://github.com/neovim/nvim-lspconfig/issues/3705
755
+
-- These servers will have to be manually set up with require("lspconfig").server_name.setup{}
0 commit comments