-
Hey! Thanks a lot for this plugin it's really awesome. I was wondering if it's possible to evaluate lua in the snippet files? I see the example with the Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
dcampos
Dec 5, 2021
Replies: 1 comment
-
Hi, I'm glad you liked the plugin! In the current version, you can evaluate Lua by starting the eval block with snippet luatime
Current time is: `!lua os.date("%T")` Older answer (still possible): It is possible to evaluate Lua code by using the luaeval function. For example: snippet luatime
Current time is: `luaeval('os.date("%T")')` |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dcampos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm glad you liked the plugin!
In the current version, you can evaluate Lua by starting the eval block with
!lua
:Older answer (still possible):
It is possible to evaluate Lua code by using the luaeval function. For example: