Open
Description
Hi there,
Thanks for your work.
Would it be possible with Vim's syntax matching to highlight usages of a function's arguments? For example, to highlight usages (of accommodationId, startDate, endDate and userId) in a function like below:
...
requestAvailability: function(accommodationId, startDate, endDate, userId) {
var deferred = Q.defer();
var request = {
deferred: deferred,
userId: userId,
accommodationId: accommodationId,
startDate: startDate,
endDate: endDate
};
if (!userId) {
UserService.getLoggedInUser().then(function(data) {
request.userId = data.user.id;
_makeOrDelayAvailabilityRequest(request);
});
return deferred.promise;
}
_makeOrDelayAvailabilityRequest(request);
return deferred.promise;
}
...