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
Uncommenting the "rules" section stops Micro from crashing.
Micro should load this perfectly fine, despite just being a verbose version of --.*$, or should properly complain of a malformed file.
Specifications
Ubuntu 20.04.6 LTS
micro: 2.0.13/68d88b57 via snap
term: SSH --> Debian
Debian 12.7 / KDE 5
micro: 2.0.11/<no hash in output> via apt/bookworm
term: Konsole/pwsh
The text was updated successfully, but these errors were encountered:
helpimnotdrowning
changed the title
Syntax file fails to load (or crash) when block highlight is missing "rules" block
Syntax file causes crash when block highlight is missing "rules" block
Nov 12, 2024
This should be fixed on master (#3458), although there has not been a release yet since. You may build micro from source or download the nightly release to get the fix.
Description of the problem or steps to reproduce
In writing a hyperscript extension to the included
syntax/html.yaml
file, I added these lines:, along with a file named
_hyperscript.yaml
right next to it:On starting Micro, opening any html file (or reloading the syntax in an existing window, ie by Ctrl+S) crashes:
Uncommenting the "rules" section stops Micro from crashing.
Micro should load this perfectly fine, despite just being a verbose version of
--.*$
, or should properly complain of a malformed file.Specifications
pwsh
The text was updated successfully, but these errors were encountered: