diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-17 19:12:01 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-17 19:12:01 -0500 |
commit | 4f4a43620fd51bf6818b9984272413fe2717127b (patch) | |
tree | 75d015b67bc22b75a74f50df56d645faa0b84e59 | |
parent | 67dad494270f077a508bf0e4b11d70d7c1de4ad2 (diff) | |
download | dotconfig-4f4a43620fd51bf6818b9984272413fe2717127b.tar.xz dotconfig-4f4a43620fd51bf6818b9984272413fe2717127b.zip |
make colorizer enabled by default on css sass js and html files
-rw-r--r-- | nvim/lua/tjk/plugins/colorizer.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nvim/lua/tjk/plugins/colorizer.lua b/nvim/lua/tjk/plugins/colorizer.lua index ac24b23..0d41dbc 100644 --- a/nvim/lua/tjk/plugins/colorizer.lua +++ b/nvim/lua/tjk/plugins/colorizer.lua @@ -1,4 +1,12 @@ return { "norcalli/nvim-colorizer.lua", -- css color highlighter - config = true, + config = function() + local colorizer = require("colorizer") + colorizer.setup { + "css", + "sass", + "javascript", + "html", + } + end } |