nvim: enable lsp_lines for pretty diagnostics
This commit is contained in:
parent
416be9300a
commit
80662fb273
2 changed files with 12 additions and 1 deletions
|
@ -11,7 +11,7 @@ vim.lsp.with(
|
|||
vim.lsp.diagnostic.on_publish_diagnostics,
|
||||
{
|
||||
update_in_insert = false,
|
||||
virtual_text = {prefix = "‹❮❰ " }
|
||||
virtual_text = false,
|
||||
}
|
||||
)
|
||||
local signs = { Error = "🔥", Warn = "⚠️ ", Hint = "💡", Info = "💡" }
|
||||
|
|
|
@ -225,6 +225,17 @@ return require('packer').startup(function()
|
|||
config = function() require("plugins/zenbones") end,
|
||||
}
|
||||
|
||||
-- lsp_lines
|
||||
use {
|
||||
"https://git.sr.ht/~whynothugo/lsp_lines.nvim",
|
||||
config = function()
|
||||
require("lsp_lines").setup()
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
-- copilot
|
||||
-- use({
|
||||
-- "github/copilot.vim",
|
||||
|
|
Loading…
Reference in a new issue