diff --git a/cmd/micro/command.go b/cmd/micro/command.go index 6fae23bf..1d8d0246 100644 --- a/cmd/micro/command.go +++ b/cmd/micro/command.go @@ -162,6 +162,9 @@ func HandleCommand(input string) { // The 'check' flag was used Search(search, view, true) view.Relocate() + if settings["syntax"].(bool) { + view.matches = Match(view) + } RedrawAll() choice, canceled := messenger.YesNoPrompt("Perform replacement? (y,n)") if canceled {