Skip to content

Add line anchors to open links - #26

Merged
arbourd merged 1 commit into
mainfrom
add-lines
Jul 20, 2026
Merged

arbourd merged 1 commit into
mainfrom
add-lines

Conversation

@arbourd

@arbourd arbourd commented Jul 19, 2026 •

Copy link
Copy Markdown
Owner

Support opening a specific line or range of lines by suffixing a path with :n-n like git open main.go:42 or git open main.go:42-50.

Each provider now defines their anchor line format as a config option: open.<url>.lineformat

@arbourd
arbourd force-pushed the add-lines branch 6 times, most recently from f3fd665 to 9ebed65 Compare July 20, 2026 03:19
Support opening a specific line or range of lines by suffixing a path
with :n-n like `git open main.go:42` or `git open main.go:42-50`.

Each provider now defines their anchor line format as a config option:
`open.<url>.lineformat`
@arbourd
arbourd merged commit 4268eff into main Jul 20, 2026
4 checks passed
@arbourd
arbourd deleted the add-lines branch July 20, 2026 03:37
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

Successfully merging this pull request may close these issues.

1 participant