mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
7a110db60d
Previously, if the pointer for a syntax error pointed to the end of the file (and the file ended in a newline) the code snippet rendering would try to display a line _beyond_ the end of the file, causing a crash. Here, we detect that case, and display `<<end of file>>` instead. |
||
---|---|---|
.. | ||
vane | ||
arvo.hoon | ||
hoon.hoon | ||
lull.hoon | ||
zuse.hoon |