diff options
author | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:30:14 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:30:14 -0600 |
commit | d270b184aaf4ee085cefc86b0dd88a3a8e4a98d1 (patch) | |
tree | f6f03cd4fd808572f750e6043d4f290879087207 /lua/conf/plugins | |
parent | a8e07d1d7e99761447430369090190bb323c72f7 (diff) | |
download | nvim-d270b184aaf4ee085cefc86b0dd88a3a8e4a98d1.tar.gz nvim-d270b184aaf4ee085cefc86b0dd88a3a8e4a98d1.tar.bz2 nvim-d270b184aaf4ee085cefc86b0dd88a3a8e4a98d1.zip |
switch back to old colorizer to avoid breaking changes
Diffstat (limited to 'lua/conf/plugins')
-rw-r--r-- | lua/conf/plugins/nvim-colorizer.lua | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lua/conf/plugins/nvim-colorizer.lua b/lua/conf/plugins/nvim-colorizer.lua index c37dfb1..91cffd1 100644 --- a/lua/conf/plugins/nvim-colorizer.lua +++ b/lua/conf/plugins/nvim-colorizer.lua @@ -1,11 +1,9 @@ -return { 'NvChad/nvim-colorizer.lua', - disable = vim.version().minor < 7 and not vim.fn.has("termguicolors"), +return { 'norcalli/nvim-colorizer.lua', + disable = vim.version().minor < 4 and not vim.fn.has("termguicolors"), function() - require('colorizer').setup { - user_default_options = { - names = false, - css = true - } - } + require('colorizer').setup(nil, { + names = false, + css = true + }) end } |