Overview
A table field with a number key, like[1], is hard to read at the call site. index_alias gives it a name. Completion lists the field under that name, and an inlay hint shows the name next to t[1].
The field keeps its number key. The name is only shown in the editor.
Syntax
Example
@field lines: