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
Hmm unfortunately there is nothing I can do about this without making a lot of changes to the syntax highlighting engine. I do plan on making the changes, but I can't do it right now.
The issue is caused by micro only checking a subset of the buffer for syntax highlighting (for speed purposes), but since Python uses """ for both starting a comment and ending a comment, micro can't know if a """ is the start of a comment, or if it is the end of a comment which started out of the subset being checked.
Understood. Hopefully you will be able to fix that in the future by some clever optimization. Unfortunately I know nothing about Go, so I cannot help. Keep up great work, you have saved me from Nano and Vim suffering!
Reacted by Giorgi Shalvashvili, Illia Karpenkov, brunnerh, Stanley-Orabueze, Merial9 and Conscat
That seems like syntax highlighting is simply not working in Terminator. This is probably because your TERM variable is set to xterm. You can fix this by settings TERM=xterm-256color or by changing the colorscheme in micro to simple (> set colorscheme simple).
Reacted by Mikhail Sinkevich, Jaime Pillora and Aviel Gross
After reloading and then saving a file the syntax highlighting fails entirely and no subsequently opened files are highlighted. When multiple tabs/splits are open, it fails on the saved one, other splits/tabs retain highlighted state until they are saved.
Activity
zyedidia commentedon Aug 29, 2016
Hmm unfortunately there is nothing I can do about this without making a lot of changes to the syntax highlighting engine. I do plan on making the changes, but I can't do it right now.
The issue is caused by micro only checking a subset of the buffer for syntax highlighting (for speed purposes), but since Python uses
"""for both starting a comment and ending a comment, micro can't know if a"""is the start of a comment, or if it is the end of a comment which started out of the subset being checked.skontar commentedon Aug 29, 2016
Understood. Hopefully you will be able to fix that in the future by some clever optimization. Unfortunately I know nothing about Go, so I cannot help. Keep up great work, you have saved me from Nano and Vim suffering!
sinkevichmm commentedon Oct 9, 2016
I have a similar error on the left to the right Тerminator Gnome Terminal

Shell: Fish
zyedidia commentedon Oct 9, 2016
That seems like syntax highlighting is simply not working in Terminator. This is probably because your
TERMvariable is set toxterm. You can fix this by settingsTERM=xterm-256coloror by changing the colorscheme in micro tosimple(> set colorscheme simple).sinkevichmm commentedon Oct 10, 2016
Thank you! it helped me
TERM=xterm-256colorevolbug commentedon Feb 1, 2017
After
reloading and then saving a file the syntax highlighting fails entirely and no subsequently opened files are highlighted. When multiple tabs/splits are open, it fails on the saved one, other splits/tabs retain highlighted state until they are saved.zyedidia commentedon Mar 27, 2017
Fixed in #593.