From 243abab53cd96e4b859e42b36ce0e3dbf0858ee8 Mon Sep 17 00:00:00 2001 From: Nick Gurney Date: Mon, 28 Dec 2020 15:34:50 -0700 Subject: [PATCH] Added support for Nova text editor Added support for the Nova text editor (nova.app) and updated the config comments to include it in the list of options. --- config/ignition.php | 2 +- resources/js/components/Shared/editorUrl.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/ignition.php b/config/ignition.php index 1c1b648d..148d00b7 100644 --- a/config/ignition.php +++ b/config/ignition.php @@ -10,7 +10,7 @@ | Choose your preferred editor to use when clicking any edit button. | | Supported: "phpstorm", "vscode", "vscode-insiders", - | "sublime", "atom" + | "sublime", "atom", "nova" | */ diff --git a/resources/js/components/Shared/editorUrl.js b/resources/js/components/Shared/editorUrl.js index a1787687..fe1574ca 100644 --- a/resources/js/components/Shared/editorUrl.js +++ b/resources/js/components/Shared/editorUrl.js @@ -10,6 +10,7 @@ export default function editorUrl(config, file, lineNumber) { vscode: 'vscode://file/%path:%line', 'vscode-insiders': 'vscode-insiders://file/%path:%line', atom: 'atom://core/open/file?filename=%path&line=%line', + nova: 'nova://core/open/file?filename=%path&line=%line' }; file =