Fix colorizer lazy load messing up cursor position when file is opened

pull/1341/head
Akianonymus 2 years ago committed by Sidhanth Rathod
parent e94a8c1e25
commit d8a92c75b1

@ -32,13 +32,7 @@ M.colorizer = function()
plugins = "nvim-colorizer.lua",
condition = function()
local items = { "#", "rgb", "hsl", "rgba", "hsla" }
for _, val in ipairs(items) do
if vim.fn.search(val) ~= 0 then
return true
end
end
return true
end,
}
end

Loading…
Cancel
Save