aboutsummaryrefslogtreecommitdiff
path: root/test/expectation.txt
diff options
context:
space:
mode:
authorAkianonymus <anonymus.aki@gmail.com>2022-08-28 12:30:35 +0530
committerAkianonymus <anonymus.aki@gmail.com>2022-09-03 17:24:25 +0530
commit28b41de2f491ef598197823c04fc7e86ae76a625 (patch)
treeb480ea1c0f58e4802e92a6de9baf26f27b6e855d /test/expectation.txt
parentfeat: Incremental highlight loading (diff)
fragment | Implement better autocmd management | refactor
add a all_buffers option - colorizer will activate on all buffers, empty or not, still respect filetypes option handle errors when detach is called multiple times from the same buffer use bufdelete and bufdelete to remove the autocmds use a more efficient compile parse_fn function use custom ldoc template to generate vim help
Diffstat (limited to 'test/expectation.txt')
-rw-r--r--test/expectation.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/expectation.txt b/test/expectation.txt
index da3deb6..0969608 100644
--- a/test/expectation.txt
+++ b/test/expectation.txt
@@ -1,28 +1,28 @@
-- vim:ft=lua
-require("colorizer").attach_to_buffer(0, { css = true })
-
+require("colorizer").detach_from_buffer(0)
+require("colorizer").attach_to_buffer(0, { AARRGGBB = true, css = true, mode = "background" })
--[[ SUCCESS
-#F0F
-#FF00FF
+0xFf32A14B 0xFf32A14B
+#32a14b
+
+#F0F #FF00FF #FFF00F8F #F0F #FF00FF
+#FF32A14B
#FFF00F8F
- #F0F
- #FF00FF
- #FFF00F8F
- #F0F #F00
- #FF00FF #F00
- #FFF00F8F #F00
-Blue Gray LightBlue Gray100 White
+#F0F #F00
+#FF00FF #F00
+#FFF00F8F #F00
+
+blue gray lightblue gray100 white gold blue
+Blue LightBlue Gray100 White
White
-#def
-#deadbeef
-rgba(200,30,0,0)
-rgb(0,0,0)
-rgb(10, 100 , 100)
-hsl(300,50%,50%)
-hsla(300,50%,50%,0.5)
+
+#def #deadbeef
+
+rgb(0,0,0) rgb(10, 100 , 100)
+rgba(200,30,0,1) rgba(200,30,0,0.5)
+hsl(300,50%,50%) hsla(300,50%,50%,0.5)
hsla(300,50%,50%,1.0000000000000001)
hsla(360,50%,50%,1.0000000000000001)
-blue gray lightblue gray100 white gold blue
]]
--[[ FAIL