Skip to content

Auto integrations are not enabled unless they are explicitly configured. #1020

Closed

Description

@morlipty

Description

After #1019 auto integrations are not enabled automatically unless they are explicitly configured.

Neovim version

NVIM v0.12.4
Build type: RelWithDebInfo
LuaJIT 2.1.1784360928

Terminal and multiplexer

kitty 0.48.0

Catppuccin version / branch / rev

main

Steps to reproduce

  1. Do not set auto_integrations = true in setup

Expected behavior

It's enabled by default.

Actual behavior

Screencast_20260719_212815.webm

Repro

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "catppuccin/nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("catppuccin-nvim")
-- add anything else here

Activity

  1. RayGuo-ergou commented on Jul 20, 2026

    @RayGuo-ergou

    The auto_integrations seems only check the user option.

    diff --git a/lua/catppuccin/init.lua b/lua/catppuccin/init.lua
    index d5b26aa..b8b80e8 100644
    --- a/lua/catppuccin/init.lua
    +++ b/lua/catppuccin/init.lua
    @@ -149,17 +149,17 @@ function M.setup(user_conf)
     	-- Parsing user config
     	user_conf = user_conf or {}
     
    -	if user_conf.auto_integrations == true then
    -		user_conf.integrations = vim.tbl_deep_extend(
    +	M.options = vim.tbl_deep_extend("keep", user_conf, M.default_options)
    +	M.options.highlight_overrides.all = user_conf.custom_highlights or M.options.highlight_overrides.all
    +
    +	if M.options.auto_integrations == true then
    +		M.options.integrations = vim.tbl_deep_extend(
     			"force",
     			require("catppuccin.lib.detect_integrations").create_integrations_table(),
    -			user_conf.integrations or {}
    +			M.options.integrations
     		)
     	end
     
    -	M.options = vim.tbl_deep_extend("keep", user_conf, M.default_options)
    -	M.options.highlight_overrides.all = user_conf.custom_highlights or M.options.highlight_overrides.all
    -
     	-- Get cached hash
     	local cached_path = M.options.compile_path .. M.path_sep .. "cached"
     	local file = io.open(cached_path)

    This should fix it.

  2. morlipty commented on Jul 20, 2026

    @morlipty
    Author

    This should fix it.

    Just tried and it does.

  3. nothingfr87 commented on Jul 22, 2026

    @nothingfr87

    I was actually having problems with the colors were broken

    Image

    but after I enabled auto_integrations = true in opts = {} the colors were corrected

    Image
  4. Boofny commented on Jul 22, 2026

    @Boofny

    Had the same issue and used auto_integrations = true this fixed some colors but for things like lualine and snacks.picker some colors are still broken for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions