Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bg error(from prev commit) #523

Closed
geril2207 opened this issue Jun 24, 2023 · 1 comment · Fixed by #526
Closed

bg error(from prev commit) #523

geril2207 opened this issue Jun 24, 2023 · 1 comment · Fixed by #526
Labels
bug Something isn't working

Comments

@geril2207
Copy link

Description

Error starting from b032ced commit. My config https://github.com/geril2207/nvim-config
E5113: Error while calling lua chunk: vim/_editor.lua:0: /Users/ilya/.config/nvim/init.lua..nvim_exec2() called at /Users/ilya/.config/nvim/init.lua:0../Users/ilya/.local/share/nvim/lazy/catppuccin/colo
rs/catppuccin.vim, line 1: Vim(lua):E5108: Error executing lua /Users/ilya/.cache/nvim/catppuccin/macchiato:0: Invalid 'bg': expected String or Integer
stack traceback:
[C]: in function 'nvim_set_hl'
/Users/ilya/.cache/nvim/catppuccin/macchiato: in function 'f'
...local/share/nvim/lazy/catppuccin/lua/catppuccin/init.lua:137: in function 'load'

Neovim version

NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

Terminal and multiplexer

iterm2

Catppuccin version / branch / rev

last

Steps to reproduce

Check my config https://github.com/geril2207/nvim-config, config theme in /after/plugin/theme.lua

Expected behavior

Should work

Actual behavior

Throws errors

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")
-- add anything else here
@geril2207 geril2207 added the bug Something isn't working label Jun 24, 2023
@geril2207 geril2207 changed the title Background image error(from prev commit) bg error(from prev commit) Jun 24, 2023
@nullchilly
Copy link
Contributor

I reverted the commit for now.

Yuhf7 added a commit to Yuhf7/catppuccin-nvim that referenced this issue Jun 24, 2023
mrtnvgr added a commit that referenced this issue Jun 25, 2023
* Revert "Revert "feat(native_lsp): add ability to disable background for inlay hints (#518)" (#524)"

This reverts commit 8aa9e2b.

* fix(inlay_hints): surround `or` logic with parens (#523)

* fix: stylua

---------

Co-authored-by: Egor Martynov <martynovegorOF@yandex.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants