Describe the bug
For some reason the following code creates a visual bug with the highlighting.
To Reproduce
Steps to reproduce the behavior:
- Type
ty = (tile.index/width).to_i * tile_height
- Add a space like
ty = (tile.index /width).to_i * tile_height
- Highlighting is broken
Expected behavior
Highlighting should not break.
Piece of Code
A piece of code to reproduce the problem
Screenshots
Video:
https://github.com/user-attachments/assets/2bd8d707-9ba1-4198-aa0a-c96a38fd885d
Desktop (please complete the following information):
- OS: Windows
- Crystal version: 1.13.2
- This plugin version: v0.9.6
Additional context
None, other than changing the method name to anything other than index fixes it?