ITADN

Airline theme fails to load

#1005Opengrapereader 创建于 2026-05-17
bug
G
grapereadercommented
### Description The airline theme has stopped working in the latest release. ### Neovim version ```markdown 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 ```Lua -- 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'
0 条评论