[vim plugin] support finding references
[vim plugin] Coding style fixes in TernDefs