From acaf1940e724ba51745a6f8d003c8099489919d0 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 3 Apr 2024 23:04:50 +0200 Subject: feat: add nvim-colorizer plugin --- lua/pml68/plugins.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lua/pml68') diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index 7374953..8c17a00 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -1,4 +1,16 @@ local plugins = { + -- Colorizer + { + "NvChad/nvim-colorizer.lua", + event = "BufReadPost", + config = function() + require("colorizer").setup() + + vim.defer_fn(function() + require("colorizer").attach_to_buffer(0) + end, 0) + end + }, -- Indent Blankline { "lukas-reineke/indent-blankline.nvim", -- cgit v1.2.3