summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2021-02-07 20:35:46 +0100
committeraktersnurra <gustaf.rydholm@gmail.com>2021-02-07 20:35:46 +0100
commita29fa44b3a0bd6f726ab2e8169dec35b697b04a0 (patch)
tree49e40e6e6b5b0378ea47638f77039bb4ae4c42b5 /.config/nvim/lua
parent251cde74e3bdfe70776aac644ee8858515fbc55c (diff)
neovim config added
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/plug-colorizer.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/plug-colorizer.lua b/.config/nvim/lua/plug-colorizer.lua
new file mode 100644
index 0000000..1e25d7d
--- /dev/null
+++ b/.config/nvim/lua/plug-colorizer.lua
@@ -0,0 +1,13 @@
+require'colorizer'.setup(
+ {'*';},
+ {
+ RGB = true; -- #RGB hex codes
+ RRGGBB = true; -- #RRGGBB hex codes
+ names = true; -- "Name" codes like Blue
+ RRGGBBAA = true; -- #RRGGBBAA hex codes
+ rgb_fn = true; -- CSS rgb() and rgba() functions
+ hsl_fn = true; -- CSS hsl() and hsla() functions
+ css = true; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
+ css_fn = true; -- Enable all CSS *functions*: rgb_fn, hsl_fn
+ })
+