chr4 / nginx.vim

Improved nginx vim plugin (incl. syntax highlighting)
449 stars 41 forks source link

Embedded Lua support #1

Closed valpackett closed 7 years ago

valpackett commented 7 years ago

https://github.com/hexchain/vim-openresty supports highlighting for embedded Lua code snippets… please steal that :)

(and then get into the vim-polyglot pack: sheerun/vim-polyglot/issues/187)

chr4 commented 7 years ago

Thanks for the suggestion! I'm currently working on highlighting included erb and jinja templating, so this might be similar.

As far as I understand the openresty plugin, some other lua-vim plugin is required to highlight lua? Can you comment on that, and maybe paste a snipped to test lua highlighting?

I'd also apprechiate a pull-request if you find the time for either of the suggestions.

chr4 commented 7 years ago

Done. Thanks again for the suggestion!