From e734307a441448abf373f654ed3947c3ab741f82 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Sun, 24 Dec 2023 14:26:02 +0100 Subject: [PATCH] Cleanup after migration. --- after/plugin/lsp.lua | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 992c3b2..73ee88c 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -1,7 +1,5 @@ local lsp = require("lsp-zero") -lsp.preset("recommended") - lsp.extend_cmp() local cmp = require('cmp') local cmp_select = { behavior = cmp.SelectBehavior.Select } @@ -28,14 +26,11 @@ cmp.setup({ } }) -lsp.set_preferences({ - suggest_lsp_servers = false, - sign_icons = { - error = 'E', - warn = 'W', - hint = 'H', - info = 'I' - } +lsp.set_sign_icons({ + error = 'E', + warn = 'W', + hint = 'H', + info = 'I' }) lsp.extend_lspconfig() @@ -55,8 +50,6 @@ lsp.on_attach(function(client, bufnr) vim.keymap.set("i", "", function() vim.lsp.buf.signature_help() end, opts) end) -lsp.setup() - vim.diagnostic.config({ virtual_text = true })