diff --git a/lib/better_errors/editor.rb b/lib/better_errors/editor.rb index 96ffc3f0..91cdfca7 100644 --- a/lib/better_errors/editor.rb +++ b/lib/better_errors/editor.rb @@ -12,6 +12,7 @@ class Editor { symbols: [:textmate, :txmt, :tm], sniff: /mate/i, url: "txmt://open?url=file://%{file}&line=%{line}" }, { symbols: [:vscode, :code], sniff: /code/i, url: "vscode://file/%{file}:%{line}" }, { symbols: [:vscodium, :codium], sniff: /codium/i, url: "vscodium://file/%{file}:%{line}" }, + { symbols: [:zed], sniff: /zed/i, url: 'zed://file/%{file}:%{line}' } ] def self.for_formatting_string(formatting_string)