nvim: use icons for diagnostics
This commit is contained in:
parent
1229f7a228
commit
11a6d895fb
|
@ -81,3 +81,10 @@ require('project_nvim').setup({
|
||||||
show_hidden = false,
|
show_hidden = false,
|
||||||
fallback_buffer_dir = true
|
fallback_buffer_dir = true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- icons for diagnostics in the symbol column
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user