mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Add onBufferOpen plugin callback
This commit is contained in:
@@ -189,6 +189,7 @@ func (v *View) OpenBuffer(buf *Buffer) {
|
||||
v.leftCol = 0
|
||||
v.Cursor.ResetSelection()
|
||||
v.Relocate()
|
||||
v.Center(false)
|
||||
v.messages = make(map[string][]GutterMessage)
|
||||
|
||||
v.matches = Match(v)
|
||||
|
||||
Reference in New Issue
Block a user