You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/lua/plugins/tiny-inline-diagnostics.lua

34 lines
959 B
Lua

return {
{
'rachartier/tiny-inline-diagnostic.nvim',
event = 'VeryLazy',
priority = 1000, -- needs to be loaded in first
config = function(_, opts)
vim.opt.updatetime = 100
vim.api.nvim_set_hl(0, 'DiagnosticError', { fg = '#f76464' })
vim.api.nvim_set_hl(0, 'DiagnosticWarn', { fg = '#f7bf64' })
vim.api.nvim_set_hl(0, 'DiagnosticInfo', { fg = '#64bcf7' })
vim.api.nvim_set_hl(0, 'DiagnosticHint', { fg = '#64f79d' })
require('tiny-inline-diagnostic').setup(opts)
end,
opts = {
enable_on_insert = true,
multiple_diag_under_cursor = true,
show_all_diags_on_cursorline = true,
multilines = {
enabled = false,
always_show = true,
},
signs = {
left = '',
right = '',
diag = '',
arrow = '',
up_arrow = '',
vertical = '',
vertical_end = '',
},
},
},
}