From 478c89ad5991f4c862c28226a67a65c957266910 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 19 May 2024 01:52:12 -0700 Subject: [PATCH] ok --- lua/plugins/lsp.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index a564707..5c51a51 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -1 +1,10 @@ -return {} +return { + { + "neovim/nvim-lspconfig", + opts = function(_, values) + table.insert(values.diagnostics, { + update_in_insert = false, + }) + end, + }, +}