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

goto_file on selection does not work on relative paths only absolute paths #10727

Closed
scubacabra opened this issue May 11, 2024 · 1 comment
Closed
Labels
C-bug Category: This is a bug

Comments

@scubacabra
Copy link

Summary

in an alacritty config i am importing files

import = [
  "~/.config/alacritty/catppuccin-frappe.toml"
]

it appears goto_file does not work with relative paths, only absolute ones

Reproduction Steps

I tried selecting the relative file inside the quotes ~/.config/alacritty/catppuccin-frappe.tomland pressing gf - the binding for goto_file

I expected to see the file opened in a helix buffer

Instead, it was just a blank buffer. something went wrong silently, nothing was in the log file i created with hx --log

i changed the relative file to an absolute file /Users/jacobono/.config/alacritty/catppuccin-frappe.toml

i selected inside the quotes and used the same binding and that file opened in a buffer

Helix log

No response

Platform

macos

Terminal Emulator

alacritty

Installation Method

source

Helix Version

23.10

@scubacabra scubacabra added the C-bug Category: This is a bug label May 11, 2024
@kirawi
Copy link
Member

kirawi commented May 11, 2024

This is fixed on master per #9065

@kirawi kirawi closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants