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

feature request: inline LUA support #11

Open
keen99 opened this issue Jun 7, 2016 · 2 comments
Open

feature request: inline LUA support #11

keen99 opened this issue Jun 7, 2016 · 2 comments

Comments

@keen99
Copy link

keen99 commented Jun 7, 2016

It would be really nice if this also supported lua ( _by_lua, by_lua_block, etc - see openresty). Ideally even with context sensitive comment characters (since -- is a comment in lua and # breaks it) - but I rather expect that might not be possible. :)

If nothing else, at least this block shouldn't break highlighting from the last " to EOF.

   ledge:bind("before_request", function(res)
        req_params.headers["Accept-Encoding"] = "gzip"
   end)

I suspect it's because "gzip" is an nginx keyword and matches a "should be followed by <on|off> and ;" type logic...

@yanxurui
Copy link
Contributor

yanxurui commented Mar 1, 2017

Lua block in st3 is now supported: #14

@keen99
Copy link
Author

keen99 commented Mar 1, 2017

cant wait!

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

No branches or pull requests

2 participants