Post Tuesday, 15th August 2017, 20:05

vim syntax highlighting for crawlrc

I'd like vim syntax highlighting to respect inline Lua, which would need matched in a few ways:

  Code:
Lua code can be used directly in your init.txt/.crawlrc. You can
execute Lua code using the following syntax.

: Single line of lua code

< Possibly multi-line
  Lua code >

{ Possibly multi-line
  Lua code }

Has anyone done this?

It'd be nice to throw alongside the existing levdes.vim syntax file (makes level editing nicer).