Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add helix in Get-EditorLaunch ? #266

Open
jmwatte opened this issue Mar 27, 2024 · 0 comments
Open

add helix in Get-EditorLaunch ? #266

jmwatte opened this issue Mar 27, 2024 · 0 comments

Comments

@jmwatte
Copy link

jmwatte commented Mar 27, 2024

Would it be possible to add support for the helix editor?
This works for me in the psm1 file, but I would not know how to fork and push and all that.
thx.

elseif ($editor -match 'hx') {
		if ($FileList -is [array] -and $FileList.length -gt 1) {
			for ($i = 0; $i -lt $FileList.Count; $i++) {
				$FileList[$i] = '"{0}"' -f $(Resolve-Path $FileList[$i].Trim('"'))
			}
			"$editor$editorOptions {0}" -f ($FileList -join ' ')
		}
		else {
			"$editor$editorOptions ""{0}:{1}""" -f $(Resolve-Path $FileList.Trim('"')), $LineNum
		}
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant