Originally Posted by Stanzilla
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>