You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sol-vin
changed the title
This code is interpretted as a string/char for some reason.
This code is interpreted as a string/char for some reason.
Dec 2, 2024
sol-vin
changed the title
This code is interpreted as a string/char for some reason.
This code is interpreted as a string/char when adding space for some reason.
Dec 2, 2024
It's probably due to it considering that / to be the start of a regex and not being able to find the end. If you put a # / at the end of that line, is the error contained to that line?
I need to go through and re-do the syntax highlighting rules, or just figure out a way to do syntax highlighting in vscode with tree-sitter and do that instead (the latter being a lot less error prone, but harder to write)
Describe the bug
For some reason the following code creates a visual bug with the highlighting.
To Reproduce
Steps to reproduce the behavior:
ty = (tile.index/width).to_i * tile_height
ty = (tile.index /width).to_i * tile_height
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):
Additional context
None, other than changing the method name to anything other than index fixes it?
The text was updated successfully, but these errors were encountered: