mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 14:47:16 +09:00
Interface with plugin.lua file
This commit is contained in:
@@ -172,8 +172,8 @@ func (v *View) OpenBuffer(buf *Buffer) {
|
||||
v.lastClickTime = time.Time{}
|
||||
}
|
||||
|
||||
// Close and Re-open the current file.
|
||||
func (v *View) reOpen() {
|
||||
// ReOpen reloads the current buffer
|
||||
func (v *View) ReOpen() {
|
||||
if v.CanClose("Continue? (yes, no, save) ") {
|
||||
file, err := ioutil.ReadFile(v.buf.path)
|
||||
filename := v.buf.name
|
||||
|
||||
Reference in New Issue
Block a user