aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/after/plugin/lsp.lua
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-10 17:39:49 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-10 17:39:49 +0100
commit0649a7f18f4241570183c9dcf473fed04c66977f (patch)
treeca1820b6f5b942ac3ce19f00e7d867505a7bf284 /nvim/after/plugin/lsp.lua
parentc5a173d97e4892bf90a867d5c4bfca1d95ab3d12 (diff)
Adds back ale config for Python
Diffstat (limited to 'nvim/after/plugin/lsp.lua')
-rw-r--r--nvim/after/plugin/lsp.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/nvim/after/plugin/lsp.lua b/nvim/after/plugin/lsp.lua
index 2ef1bfa..5ab64d1 100644
--- a/nvim/after/plugin/lsp.lua
+++ b/nvim/after/plugin/lsp.lua
@@ -34,8 +34,9 @@ lsp.setup_nvim_cmp({
mapping = cmp_mappings
})
+
lsp.set_preferences({
- suggest_lsp_servers = true,
+ suggest_lsp_servers = false,
sign_icons = {
error = 'E',
warn = 'W',
@@ -59,6 +60,10 @@ lsp.on_attach(function(client, bufnr)
vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts)
end)
+lsp.skip_server_setup({
+ 'pylsp',
+})
+
lsp.setup()
vim.diagnostic.config({