mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +00:00
fix(hipatterns): don't color #add (use it too often as a private function in TS)
This commit is contained in:
parent
7c1301b895
commit
dc6240f4d5
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ M.plugin = {
|
|||
group = function(_, _, data)
|
||||
---@type string
|
||||
local match = data.full_match
|
||||
if match == "#add" then
|
||||
return
|
||||
end
|
||||
local r, g, b = match:sub(2, 2), match:sub(3, 3), match:sub(4, 4)
|
||||
local hex_color = "#" .. r .. r .. g .. g .. b .. b
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue