We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00aad18 commit 7118cd5Copy full SHA for 7118cd5
lua/nvim-tree/renderer/builder.lua
@@ -259,8 +259,11 @@ function Builder:_build_signs(node)
259
end
260
261
262
+---Combined group name less than the 200 byte limit of highlight group names
263
+---@param groups string[] highlight group names
264
+---@return string name "NvimTreeCombinedHL" .. sha256
265
function Builder:_combined_group_name(groups)
- return table.concat(groups)
266
+ return string.format("NvimTreeCombinedHL%s", vim.fn.sha256(table.concat(groups)))
267
268
269
---Create a highlight group for groups with later groups overriding previous.
0 commit comments