NvChad / base46

NvChad's base46 theme plugin with caching ( Total re-write )
Other
187 stars 194 forks source link

Error when building using a non-NvChad Config #316

Closed Lalit64 closed 3 months ago

Lalit64 commented 3 months ago

Followed the steps in https://0x0.st/Xrbn.mp4

And then I get this error when building using Lazy,

Screenshot 2024-06-30 at 15 29 34

Edit: I don't really want the answer of "This is not really meant to be used with other configs only NvChad"

siduck commented 3 months ago

show your chadrc file and plugins list

Lalit64 commented 3 months ago

Its just tinyvim with base46

NvConfig.lua

local M = {}

M.ui = {
  theme_toggle = { "onedark", "one_light" },
  theme = "onedark",   -- default theme
  transparency = true,
}

M.base46 = {
  integrations = {},
}

return M

I am getting a new error

Screenshot 2024-06-30 at 19 18 27
siduck commented 3 months ago

when did you try this thing? that err was fixed in the recent commits

ReStranger commented 3 months ago

Same thing, but with nvchad configuration image

siduck commented 3 months ago

run lazy sync again

muddygs commented 3 months ago

I was able to "fix" this by uninstalling (x) on base46 and installing (I) again. :Lazy sync did not solve for me.

siduck commented 3 months ago

the issue happened when y'all updated base46 at a commit which it was broken, lazy sync shouldve fixed tho

Lalit64 commented 2 months ago
Screenshot 2024-07-21 at 12 25 12 Screenshot 2024-07-21 at 12 27 55
siduck commented 2 months ago

@Lalit64
image

you need to define that global in your main init.lua before plugins

Lalit64 commented 2 months ago

And what about for "No such theme"

siduck commented 2 months ago

And what about for "No such theme"

that theme doesnt exist