Skip to content

Airline theme fails to load #1005

@grapereader

Description

@grapereader

Description

The airline theme has stopped working in the latest release.

Neovim version

NVIM v0.12.2
Build type: Release
LuaJIT 2.1.1774638290

Terminal and multiplexer

Konsole

Catppuccin version / branch / rev

v2.0.0

Steps to reproduce

let g:airline_theme='catppuccin' "as written in README

Expected behavior

Airline theme is set.

Actual behavior

Error occurs: "g:airline#themes#catppuccin#palette" is undefined.

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",
  "vim-airline/vim-airline"
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("catppuccin-nvim")

let g:airline_theme='catppuccin'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions