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

Add ability to eval Lua code #61

Merged
merged 1 commit into from
May 22, 2022
Merged

Add ability to eval Lua code #61

merged 1 commit into from
May 22, 2022

Conversation

dcampos
Copy link
Owner

@dcampos dcampos commented May 20, 2022

This pull request adds the ability to write Lua code directly in eval blocks, without the need to call luaeval() from Vimscript:

snippet today
    Today is `!lua os.date('%Y-%m-%d')`

The !lua part can be abbreviated to !l.

It will also make it possible to write !vim or !v to mean Vimscript, which is the default when no language is indicated.

@dcampos dcampos force-pushed the feature/luaeval branch 3 times, most recently from 834820e to 78e1fd0 Compare May 20, 2022 15:35
@dcampos dcampos merged commit 11f0240 into master May 22, 2022
@dcampos dcampos deleted the feature/luaeval branch November 17, 2022 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant