rktjmp / lush.nvim

Create Neovim themes with real-time feedback, export anywhere.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lush.ify Could not parse buffer due to Lua error

thewinger opened this issue · comments

Is there a way to see what in my file is breaking Lushify?

I do Lushify and nothing happens and when I quit the file I have in terminal
Lush.ify: Could not parse buffer due to Lua error: ...m/site/pack/packer/start/lush.nvim/lua/lush/compiler.lua:9: can't compile, incorrect argument type

Is this with a custom theme or just in the tutorial?

Lush tries to give helpful messages but sometimes the lua too broken to start parsing, normally it's a missing , or un-closed string.

Can you post your spec file?

Is a custom theme https://github.com/thewinger/eclipse.nvim
It used to work, so maybe is something I have added lately.

That loads fine for me and gives accurate errors when I break parts. You'll have to investigate your setup.

I am running a sort of old version of nvim from git, but it should be fine on 0.5 up.

NVIM v0.7.0-dev+666-ge225397bc-dirty

I'll test around. Thank you for your fast answers.