Getting error: Invalid character in group name and colorscheme not found

Setting colorscheme like this

local colorscheme = "gruvbox"

local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then
	vim.notify("colorscheme " .. colorscheme .. " not found!")
	return
end

Errors

How can resolve this. please?

By brute-force debugging, it was coming from the BufferLine plugin. Resolved by resetting the setup options. :+1:

2 Likes

Same happened to me. It was coming from BufferLine plugin