diff options
Diffstat (limited to 'plugins/colorpreview.lua')
-rw-r--r-- | plugins/colorpreview.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/colorpreview.lua b/plugins/colorpreview.lua index 71f5c6d..dca419c 100644 --- a/plugins/colorpreview.lua +++ b/plugins/colorpreview.lua @@ -47,7 +47,7 @@ local draw_line_text = DocView.draw_line_text function DocView:draw_line_text(idx, x, y) draw_line_text(self, idx, x, y) - draw_color_previews(self, idx, x, y, "#(%x%x)(%x%x)(%x%x)%f[%X]", 16) - draw_color_previews(self, idx, x, y, "#(%x)(%x)(%x)%f[%X]", 16, true) -- support #fff css format + draw_color_previews(self, idx, x, y, "#(%x%x)(%x%x)(%x%x)%f[%W]", 16) + draw_color_previews(self, idx, x, y, "#(%x)(%x)(%x)%f[%W]", 16, true) -- support #fff css format draw_color_previews(self, idx, x, y, "rgba?%((%d+)%D+(%d+)%D+(%d+).-%)", 10) end |