Change syntax line to be more strict about matching (not everyone has as many Lua files as me)

Fri, 07 Jan 2011 04:58:15 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 07 Jan 2011 04:58:15 +0000
changeset 6
f58de1bc3e0a
parent 5
e548241a4e2e
child 7
addc7b3b1e8f

Change syntax line to be more strict about matching (not everyone has as many Lua files as me)

lua.nanorc file | annotate | diff | comparison | revisions
--- a/lua.nanorc	Fri Jan 07 04:57:31 2011 +0000
+++ b/lua.nanorc	Fri Jan 07 04:58:15 2011 +0000
@@ -12,7 +12,7 @@
 
 
 # Automatically use for '.lua' files
-syntax "lua" ".*\.?lua\>.*$"
+syntax "lua" "\.lua$"
 
 # General
 color brightwhite ".+"

mercurial