rorydriscoll / LuaSublime

Various support files for making developing Lua using Sublime Text 2 more pleasant.
Other
112 stars 28 forks source link

bug in function definition's "end" token #21

Closed brocoli closed 11 years ago

brocoli commented 11 years ago

in the following snippet of code:

function myFunc()
    local ending = 1
    local endstuff = 2
end

the "end" part of "ending = 1" is highlighted (but not in "endstuff = 2"). It's probably just a missing word boundary somewhere.

This also affects scope expansion: placing the cursor on myFunc and using expand selection to scope will select form "function" to the "end" in "ending = 1".