From 2b8cc4cfce5ad9b30e3c9e4b0f9be230f2309e94 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Sat, 23 Apr 2016 18:28:41 -0400 Subject: [PATCH] Fix build error --- cmd/micro/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/micro/command.go b/cmd/micro/command.go index 041ae46f..4e3c6ab3 100644 --- a/cmd/micro/command.go +++ b/cmd/micro/command.go @@ -102,7 +102,7 @@ func HandleCommand(input string, view *View) { os.Exit(0) } case "save": - view.Save() + Save(view) case "replace": r := regexp.MustCompile(`"[^"\\]*(?:\\.[^"\\]*)*"|[^\s]*`) replaceCmd := r.FindAllString(strings.Join(args, " "), -1)