mirror of https://github.com/status-im/metro.git
TextMate support for launchEditor
Reviewed By: @frantic Differential Revision: D2467263
This commit is contained in:
parent
16a9a5beda
commit
cea98fdef1
|
@ -34,6 +34,9 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber) {
|
||||||
case 'joe':
|
case 'joe':
|
||||||
case 'emacs':
|
case 'emacs':
|
||||||
return ['+' + lineNumber, fileName];
|
return ['+' + lineNumber, fileName];
|
||||||
|
case 'rmate':
|
||||||
|
case 'mate':
|
||||||
|
return ['--line', lineNumber, fileName];
|
||||||
}
|
}
|
||||||
|
|
||||||
// For all others, drop the lineNumber until we have
|
// For all others, drop the lineNumber until we have
|
||||||
|
|
Loading…
Reference in New Issue