From 0f0e24d16c896a5555a850d7b7d43fd49437d4bd Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 9 Jan 2022 11:41:23 +0100 Subject: [PATCH] Feat: possibility to activate colors --- nvim/.config/nvim/lua/config/colorizer.lua | 1 + nvim/.config/nvim/lua/plugins.lua | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 nvim/.config/nvim/lua/config/colorizer.lua diff --git a/nvim/.config/nvim/lua/config/colorizer.lua b/nvim/.config/nvim/lua/config/colorizer.lua new file mode 100644 index 0000000..b7d2445 --- /dev/null +++ b/nvim/.config/nvim/lua/config/colorizer.lua @@ -0,0 +1 @@ +lua require'colorizer'.setup() diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 3481587..4d59b75 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -74,4 +74,9 @@ return require('packer').startup(function() run = ':TSUpdate' } + use { + 'norcalli/nvim-colorizer.lua', + config = [[require('config.colorizer')]], + } + end)