Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[utils] importLua function and luaToNix script #1715

Open
MattSturgeon opened this issue Jun 17, 2024 · 1 comment
Open

[utils] importLua function and luaToNix script #1715

MattSturgeon opened this issue Jun 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@MattSturgeon
Copy link
Collaborator

It'd be useful when adding/updating plugin modules to be able to paste some lua code into a script and get out valid nix. Effectively the opposite of helpers.toLuaObject.

This may also be useful within nixvim modules, either internally or for users.

It'd be nice to have a pure-nix function to do the heavy lifting, and then expose this through a script or something for use on the CLI. This would also apply to toLuaObject.

@MattSturgeon MattSturgeon added the enhancement New feature or request label Jun 17, 2024
@MattSturgeon
Copy link
Collaborator Author

Actually, I'm tempted to move toLuaObject out of tree into a dedicated nix/lua tools flake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant