fix(nvim-0.6): wrong color group for warning sign (#792)

This commit is contained in:
kjssad
2021-11-27 13:07:36 +00:00
committed by GitHub
parent 0babcb4f2c
commit ea38eaa967

View File

@@ -119,7 +119,7 @@ end
local has_06 = vim.fn.has('nvim-0.6') == 1
local links = {
NvimTreeLspDiagnosticsError = has_06 and "DiagnosticError" or "LspDiagnosticsDefaultError",
NvimTreeLspDiagnosticsWarning = has_06 and "DiagnosticWarning" or "LspDiagnosticsDefaultWarning",
NvimTreeLspDiagnosticsWarning = has_06 and "DiagnosticWarn" or "LspDiagnosticsDefaultWarning",
NvimTreeLspDiagnosticsInformation = has_06 and "DiagnosticInfo" or "LspDiagnosticsDefaultInformation",
NvimTreeLspDiagnosticsHint = has_06 and "DiagnosticHint" or "LspDiagnosticsDefaultHint",
}