From 09714b2a8477abfbf8ba6039e0b6c634a462e58b Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 13 Jun 2024 12:37:00 -0500 Subject: [PATCH] fix(nvim): disable virtual text when using lsp_lines --- users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua index 7c158357..edd3ff84 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -56,7 +56,12 @@ return { desc = "LSP: Toggle Diagnostic Style", }, }, - config = true, + config = function() + vim.diagnostic.config({ + virtual_text = false, + }) + require("lsp_lines").setup() + end, }, { "smjonas/inc-rename.nvim",