* Syntax: Files that contain "/lua" in the first line are

probably Lua source code.
	* lua.syntax: Comments may also start with "#", at least in the
	first line.
This commit is contained in:
Roland Illig 2007-06-08 07:05:23 +00:00
parent d480dbe0b3
commit 30d603ec67
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-06-08 Roland Illig <roland.illig@gmx.de>
* Syntax: Files that contain "/lua" in the first line are
probably Lua source code.
* lua.syntax: Comments may also start with "#", at least in the
first line.
2007-06-04 Pavel Roskin <proski@gnu.org>
* diff.syntax: Don't use blue background for lines starting with

View File

@ -136,7 +136,7 @@ include assembler.syntax
file ..\*\\.([Pp][Oo][Vv])$ POV\sScript
include povray.syntax
file ..\*\\.([lL][uU][aA])$ LUA\sProgram
file ..\*\\.([lL][uU][aA])$ LUA\sProgram ^#!.*/lua
include lua.syntax
file ..\*\\.([iI][dD][lL])$ CORBA\sIDL

View File

@ -202,6 +202,7 @@ context exclusive --[[ ]] brown
context exclusive -- \n brown
spellcheck
context linestart # \n brown
# Strings
context " " brightgreen