feat(diagnostics): More responsive and configurable diagnostics signs. (#303)
This commit is contained in:
@@ -21,7 +21,13 @@ function M.get_icon_state()
|
||||
empty_open = "",
|
||||
symlink = "",
|
||||
symlink_open = "",
|
||||
}
|
||||
},
|
||||
lsp = {
|
||||
hint = "",
|
||||
info = "",
|
||||
warning = "",
|
||||
error = "",
|
||||
},
|
||||
}
|
||||
|
||||
local user_icons = vim.g.nvim_tree_icons
|
||||
@@ -43,6 +49,11 @@ function M.get_icon_state()
|
||||
icons.folder_icons[key] = val
|
||||
end
|
||||
end
|
||||
for key, val in pairs(user_icons.lsp or {}) do
|
||||
if icons.lsp[key] then
|
||||
icons.lsp[key] = val
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user