From d11ce5886e8125720a78a7acdefbcb60fdc67406 Mon Sep 17 00:00:00 2001 From: cn Date: Sun, 10 Mar 2013 11:26:56 +0100 Subject: [PATCH] Add lua shebang recogn --- ftyperc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ftyperc b/ftyperc index c5e82e1..f6aaa83 100644 --- a/ftyperc +++ b/ftyperc @@ -735,6 +735,11 @@ LUA *.lua -autoindent +-syntax lua + +* ++#!\+\[ ]\+\[a-z/ ]lua\> +-autoindent -syntax lua TCL @@ -961,4 +966,4 @@ -single_quoted -c_comment -text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif --cpara >#!;*/% \ No newline at end of file +-cpara >#!;*/%