dsalt / devilspie2

Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are opened and closed.
GNU General Public License v3.0
124 stars 11 forks source link

EmmyLua-style function type definitions #12

Open mochaaP opened 1 year ago

mochaaP commented 1 year ago

See https://github.com/orgs/EmmyLua/repositories and https://github.com/LuaLS/lua-language-server/wiki/Annotations.

mochaaP commented 1 year ago

https://gist.github.com/mochaaP/68d9dd2d78bb97e190296a6c27c48629 Just wrote one.

dsalt commented 1 year ago

Maybe convert this into an actual commit or patch? (It'll need an update or two for recent changes.)

mochaaP commented 1 year ago

I don't actually use X11 now, so you're welcomed to modify it :). I attached 0BSD license to the gist.