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

@@ -70,10 +70,6 @@ local function get_links()
FileDeleted = 'NvimTreeGitDeleted',
Popup = 'Normal',
GitIgnored = 'Comment',
LspDiagnosticsError = "LspDiagnosticsDefaultError",
LspDiagnosticsWarning = "LspDiagnosticsDefaultWarning",
LspDiagnosticsInformation = "LspDiagnosticsDefaultInformation",
LspDiagnosticsHint = "LspDiagnosticsDefaultHint",
StatusLine = "StatusLine",
StatusLineNC = "StatusLineNC",
SignColumn = 'Normal',