From 1b067c5659abc7ef478f074761570758bd091f4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= <gnapse@gmail.com>
Date: Mon, 8 Jan 2018 18:08:29 -0300
Subject: [PATCH] Autodetect MacVim editor (#3545)

Adds support for the error overlay to detect and open the file with the error in MacVim.

Relates to #2636.
---
 packages/react-dev-utils/launchEditor.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/packages/react-dev-utils/launchEditor.js b/packages/react-dev-utils/launchEditor.js
index ba16827e6..d2a7ea559 100644
--- a/packages/react-dev-utils/launchEditor.js
+++ b/packages/react-dev-utils/launchEditor.js
@@ -52,6 +52,8 @@ const COMMON_EDITORS_OSX = {
     '/Applications/RubyMine.app/Contents/MacOS/rubymine',
   '/Applications/WebStorm.app/Contents/MacOS/webstorm':
     '/Applications/WebStorm.app/Contents/MacOS/webstorm',
+  '/Applications/MacVim.app/Contents/MacOS/MacVim':
+    'mvim',
 };
 
 const COMMON_EDITORS_LINUX = {
-- 
GitLab