refactor(nvim): ignore lsp diag for virtual lines field
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 36s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 36s
This commit is contained in:
parent
07cf91ca0b
commit
979deff514
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user