Closed Frityet closed 1 year ago
Hello 👋
Can you please create a separate branch that excludes the generation code and other unnecessary files and then update the submodule?
Any progress?
Hello 👋
Can you please create a separate branch that excludes the generation code and other unnecessary files and then update the submodule?
What do you mean by this?
Any progress?
Just read this 😅
There are a lot of files that should not be included as part of the addon Also, the definitions must be in a “library” folder, so you will have to move the “yue” folder into a “library” folder. Check one of the already included addons to see what sort of structure is required.
There are a lot of files that should not be included as part of the addon Also, the definitions must be in a “library” folder, so you will have to move the “yue” folder into a “library” folder. Check one of the already included addons to see what sort of structure is required.
Will do, thanks!
Done 👍
Please run StyLua to apply the proper code style.
Please run StyLua to apply the proper code style.
Stylua fails because some argument names are also lua keywords, i.e end
. Should I change this? It works fine on lualanguageserver
How about JohnnyMorganz/StyLua#ignoring-parts-of-a-file ?
im just gonna have automatic keyword
-> _keyword
so like, end
would become _end
Is using end
not a syntax error? Any time I have mistakenly used end
, I receive a syntax error.
Is using
end
not a syntax error? Any time I have mistakenly usedend
, I receive a syntax error.
it is, however lua-language-server doesn't care for meta files
Anyways, fixed, im gonna make an API update and then push
Libyue is a GUI library for C++, JS, and Lua. On the GitHub page, there is a set of .json files which define the Yue API. The
autogen.lua
file automatically turns that into CATS definitions.