mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 14:47:16 +09:00
Add syntax flags and fix a couple highlighting bugs
This commit is contained in:
@@ -342,6 +342,8 @@ func (v *View) Display() {
|
||||
st, ok := v.matches[charNum]
|
||||
if ok {
|
||||
highlightStyle = st
|
||||
} else {
|
||||
highlightStyle = tcell.StyleDefault
|
||||
}
|
||||
|
||||
if v.cursor.HasSelection() &&
|
||||
|
||||
Reference in New Issue
Block a user