View Single Post
11-04-14, 08:57 AM   #35
fgprodigal
A Murloc Raider
Join Date: Sep 2011
Posts: 4
Originally Posted by Stanzilla View Post
I found some bugs, too. Like for example it does not detect it as a concat when you don't have a space between the dots and the string.

Code:
frame:RegisterUnitEvent("UNIT_PET", unit.."pet")
in file 'WoW Lua.tmLanguage'
Code:
<dict>
	<key>match</key>
	<string>\b[^,\[\](){}\s]+\b</string>
	<key>name</key>
	<string>variable.parameter.lua</string>
</dict>
I added '\.' into regex, like
Code:
<dict>
	<key>match</key>
	<string>\b[^,\.\[\](){}\s]+\b</string>
	<key>name</key>
	<string>variable.parameter.lua</string>
</dict>
  Reply With Quote