Skip to content

Commit b1e5b92

Browse files
nzaytseveamodio
authored andcommitted
Pass alphanumeric property to autolink
1 parent b4eaa7c commit b1e5b92

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2222
- Fixes [#3571](https://github.com/gitkraken/vscode-gitlens/issues/3571) - Gitlens fails to register buttons on top-right corner — thanks to [PR #3605](https://github.com/gitkraken/vscode-gitlens/pull/3605) by Jean Pierre ([@jeanp413](https://github.com/jeanp413))
2323
- Fixes an issue where virtual repositories for GitHub PRs from forks wouldn't load properly
2424
- Fixes an issue where deleting a worktree would not always remove the worktree from the view
25+
- Fixes [#3617](https://github.com/gitkraken/vscode-gitlens/issues/3617) - Auto-links not working for alphanumberic issue numbers
2526

2627
### Engineering
2728

src/annotations/autolinks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface Autolink {
3030
prefix: string;
3131
title?: string;
3232
url: string;
33-
33+
alphanumeric?: boolean
3434
type?: AutolinkType;
3535
description?: string;
3636

@@ -238,7 +238,7 @@ export class Autolinks implements Disposable {
238238
prefix: ref.prefix,
239239
url: ref.url?.replace(numRegex, num),
240240
title: ref.title?.replace(numRegex, num),
241-
241+
alphanumeric: ref.alphanumeric,
242242
type: ref.type,
243243
description: ref.description?.replace(numRegex, num),
244244
descriptor: ref.descriptor,

0 commit comments

Comments
 (0)