fix indention for function where its varname contains "end"

like
   local ends_with = function()