nvim: enable lsp_lines for pretty diagnostics

This commit is contained in:
Daniel Lundin 2022-07-23 09:07:04 +02:00
parent 416be9300a
commit 80662fb273
2 changed files with 12 additions and 1 deletions

View file

@ -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 = "💡" }

View file

@ -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",