refactor(nvim): ignore lsp diag for virtual lines field
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 36s

This commit is contained in:
Price Hiller 2024-03-16 15:50:15 -05:00
parent 07cf91ca0b
commit 979deff514
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -224,6 +224,7 @@ return {
{
"<leader>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,