Bad /usr/share/hypr/stubs types #14560
Replies: 1 comment
-
|
isnt this fixed in git |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've migrated all my config into Lua but when I've set the types intellisense with my VSCode IDE the types for.
hl.permission()were wrong and at docs too. The correct args after looking at the source code are:{binary="/any/path", type = "screencopy", mode = "allow"}But the generated types say:
{binary="/any/path", type = "screencopy", allow = "allow"}.At docs it says:
hl.permission(binary="/any/path", type = "screencopy", allow = "allow")(without the Lua list)
I have all my config splitted into different files and I can share the whole conf (is very similar to the default from the official docs example template) if anybody needs it as inspiration 🙌🏼
Thanks to the contributors for the awesome work on this project ❤️
Beta Was this translation helpful? Give feedback.
All reactions