Skip to content

Commit

Permalink
Change error and warning diagnostic sign
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Apr 29, 2024
1 parent efefded commit c944859
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nvim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,16 @@ if vim.fn.has('nvim-0.10') == 1 then
vim.diagnostic.config({
signs = {
text = {
[vim.diagnostic.severity.ERROR] = '',
[vim.diagnostic.severity.WARN] = '',
[vim.diagnostic.severity.ERROR] = '🪲',
[vim.diagnostic.severity.WARN] = '🚨',
[vim.diagnostic.severity.INFO] = '💡',
[vim.diagnostic.severity.HINT] = '💭',
},
},
})
else
vim.fn.sign_define('DiagnosticSignError', { text = '' })
vim.fn.sign_define('DiagnosticSignWarn', { text = '' })
vim.fn.sign_define('DiagnosticSignError', { text = '🪲' })
vim.fn.sign_define('DiagnosticSignWarn', { text = '🚨' })
vim.fn.sign_define('DiagnosticSignInfo', { text = '💡' })
vim.fn.sign_define('DiagnosticSignHint', { text = '💭' })
end
Expand Down

0 comments on commit c944859

Please sign in to comment.