blob: 11c23a39a0a6aab64cb79525f2f96c2ab2b109dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
return {
{
'folke/trouble.nvim',
requires = {
{'nvim-tree/nvim-web-devicons'},
},
config = function()
require('trouble').setup {
-- icons = true,
}
-- Diagnostic signs
-- https://github.com/folke/trouble.nvim/issues/52
local signs = {
Error = " ",
Warn = " ",
Hint = " ",
Info = " "
}
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, {text = icon, texthl = hl, numhl = hl})
end
end
}
}
|