Skip to content

Commit a7fcc14

Browse files
authoredDec 22, 2024··
Add support for Zed (#22)
1 parent 45c663b commit a7fcc14

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function getEditorInfo(files, options = {}) {
1919
for (const file of files) {
2020
const parsed = parseLineColumnPath(file);
2121

22-
if (['sublime', 'atom', 'vscode', 'vscodium'].includes(editor.id)) {
22+
if (['sublime', 'atom', 'zed', 'vscode', 'vscodium'].includes(editor.id)) {
2323
editorArguments.push(stringifyLineColumnPath(parsed));
2424

2525
if (options.wait) {

‎readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Supports any editor, but only the following editors will open at a specific line
66

77
- Sublime Text
88
- Atom
9+
- Zed
910
- Visual Studio Code
1011
- VSCodium
1112
- WebStorm*

0 commit comments

Comments
 (0)
Please sign in to comment.