Skip to content

Commit

Permalink
fix(lsp_lines-nvim): update diagnostic configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 1, 2024
1 parent 237e23b commit 0cc1970
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lua/astrocommunity/diagnostics/lsp_lines-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ return {
},
},
},
{
"AstroNvim/astrolsp",
opts = {
diagnostics = {
virtual_text = false,
},
},
},
},
opts = {},
config = function(_, opts)
-- disable diagnostic virtual text
local lsp_utils = require "astrolsp"

lsp_utils.diagnostics[3].virtual_text = false
vim.diagnostic.config(lsp_utils.diagnostics[vim.g.diagnostics_mode])
require("lsp_lines").setup(opts)
end,
}

0 comments on commit 0cc1970

Please sign in to comment.