**Problem:** The `context` parameter for `references()` is just typed as a table, which is unhelpful. **Solution:** Properly type it as an `lsp.ReferenceContext`!
vim.lsp.protocol.Methods
offset_encoding
position_encoding