You've made transition from GUI text editors to a terminal text editor so easy!
_
Zachary Yedidia
@zyedidia
I'm glad! The javascript syntax highlighting is fairly primitive and doesn't have support for embedded html like that. It might be worth opening an issue to see if other people have solutions for this.
The code runs without any issues. It's not pure javascript, it's javascript+reactjs. The html-like code you are seeing is JSX and it works perfectly fine with react
Zachary Yedidia
@zyedidia
Yeah unfortunately micro doesn't have good syntax highlighting support for jsx/non-standard javascript.
completely ignoring JSX code would be a good-enough solution for me
Zachary Yedidia
@zyedidia
To disable syntax highlighting you can turn the syntax option off. In ~/.config/micro/settings.json you could make a local option that disables syntax highlighting for *.js files (see the section "Global and local settings" in > help options).
:point_up: Edit: Hello, I enjoy using the Micro text editor, but, unfortunately, I know neither Go or Lua. Is this the right place to request features/report bugs?