From 979deff5140d8f3eb259cdc57101066e51c7bb63 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 16 Mar 2024 15:50:15 -0500 Subject: [PATCH] refactor(nvim): ignore lsp diag for virtual lines field --- dots/.config/nvim/lua/plugins/configs/lsp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/dots/.config/nvim/lua/plugins/configs/lsp.lua b/dots/.config/nvim/lua/plugins/configs/lsp.lua index 4e6f0829..4632dc8c 100644 --- a/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -224,6 +224,7 @@ return { { "lt", function() + ---@diagnostic disable-next-line: undefined-field local virtual_lines_enabled = not vim.diagnostic.config().virtual_lines vim.diagnostic.config({ virtual_lines = virtual_lines_enabled,