Support "isfname" option for "gf" command
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
When I do "gf" on a file name or path like "$TEST/test.py" or "${TEST}/test.py",, it opens "/test.py" and not "$TEST/test.py" by resolving "$TEST" env variable
Describe the solution you'd like
There's a argument "isfname" in vim to which I can add all characters Vim should consider while resolving path for "gf". eg. set ifname += '{, $, }'
Additional context
vim isfname doc
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript implementation of the gf command and read Vim's isfname documentation linked in the issue. Trace how file names and paths are parsed, then determine how the option should control characters such as $, {, and }. Done means gf resolves paths containing environment-variable syntax according to the configured isfname characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100