atom-language-nginx icon indicating copy to clipboard operation
atom-language-nginx copied to clipboard

Please add support for lua highlighting!

Open mishak87 opened this issue 9 years ago • 4 comments

https://www.nginx.com/resources/wiki/modules/lua/

mishak87 avatar Oct 11 '15 20:10 mishak87

Now I released the lua-supported version as 0.6.1. Please check it!

hnagato avatar Oct 13 '15 04:10 hnagato

I don't see any difference, directives were highlighted before. What I wished for was syntax highlighting of the <lua-script-str>. Would it be possible to add Lua syntax highlighting to relevant directives?

  • init_by_lua
  • init_worker_by_lua
  • set_by_lua $res <lua-script-str> [$arg1 $arg2 ...]
  • content_by_lua
  • rewrite_by_lua
  • access_by_lua
  • header_filter_by_lua
  • body_filter_by_lua
  • log_by_lua

Only odd directive is set_by_lua rest accepts only <lua-script-str>.

mishak87 avatar Oct 13 '15 08:10 mishak87

+1 on mishak87

dustingraves avatar Nov 06 '15 19:11 dustingraves

+1

bo01ean avatar Aug 26 '16 20:08 bo01ean