Ketho

Results 47 comments of Ketho

It looks like we need to directly configure `.luarc.json` with the [JSON](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) library instead of via the LuaLS configuration.

Yeah it's a lot of functions that are still undocumented on the wiki, before they can get parsed to annotations ☹️

I have no idea how this would be implemented in EmmyLua or if it's even possible. Not to mention it can accept multiple, comma-delimited templates. But it's indeed an inconvenience...

I can confirm this works, thank you for finding this solution. There is indeed still the problem of comma-separated templates and having to parse XML to convert templates to EmmyLua...

For example ```lua CreateFrame("Frame", nil, nil, "VerticalLayoutFrame, TooltipBackdropTemplate") ``` But those don't appear to be used in FrameXML and I suppose for only very few addon authors. So it's a...

I don't really have a preferred format but it's neat that you first parsed the templates to Lua before converting it to EmmyLua. I'd like to have the code (Lua/Python?)...

I can confirm these steps fix the `param-type-mismatch` warning but it's indeed a bit ugly. I have to admit I still don't really understand how luals works >.< Dynamic class...

Thanks, I will surely look into your luals plugin example. I have no experience with the AST, but it looks interesting.

I uhh copy everything over manually, so no, not future-proof at all 😅 Thanks for your Lua script for getting the CLEU events. Are you maybe interested in communicating via...

I documented it as this but I don't know how to replace the definition from sumneko, will have to ask ```lua ---@param f function ---@param err function ---@vararg any ---@return...