chore: complete the diagnostic setup migration

Colors groups and icons are now in diagnostics.lua. They are defined on
setup which allows an easier configuration and better documentation.
`lsp_diagnostics` boolean value has been moved into a table `diagnostics`
with `enable` and `icons` as properties.
This commit is contained in:
kiyan
2021-10-10 11:41:57 +02:00
parent 64c31aaec7
commit 94b8604e86
6 changed files with 73 additions and 34 deletions

View File

@@ -24,12 +24,6 @@ function M.get_icon_state()
symlink = "",
symlink_open = "",
},
lsp = {
hint = "",
info = "",
warning = "",
error = "",
},
}
local user_icons = vim.g.nvim_tree_icons