Skip to content

Commit 061e19d

Browse files
committed
Fix: document links for inludes in overlays
1 parent bb6cda3 commit 061e19d

6 files changed

Lines changed: 16 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project are documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [0.9.3] - 2026-04-20
8+
9+
### Fixed
10+
11+
- Fixed missing document links for includes inside overlays.
12+
713
## [0.9.2] - 2026-04-17
814

915
### Fixed

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Devicetree Language Server",
44
"author": "Kyle Micallef Bonnici",
55
"license": "Apache-2.0",
6-
"version": "0.9.2",
6+
"version": "0.9.3",
77
"publisher": "KyleMicallefBonnici",
88
"repository": {
99
"type": "git",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Microsoft Corporation",
66
"license": "Apache-2.0",
77
"icon": "images/icon.png",
8-
"version": "0.9.2",
8+
"version": "0.9.3",
99
"repository": {
1010
"type": "git",
1111
"url": "https://github.com/kylebonnici/dts-lsp"

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Kyle Micallef Bonnici",
55
"package-name": "devicetree-language-server",
66
"main": "dist/server.js",
7-
"version": "0.9.2",
7+
"version": "0.9.3",
88
"categories": [
99
"Linters",
1010
"Formatters",

server/src/runtimeEvaluator.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,12 @@ export class ContextAware {
251251
.filter((v) => !!v) ?? [];
252252

253253
return [
254-
...(this.parser.cPreprocessorParser.dtsIncludes
254+
...([
255+
...this.parser.cPreprocessorParser.dtsIncludes,
256+
...this.overlayParsers.flatMap(
257+
(op) => op.cPreprocessorParser.dtsIncludes,
258+
),
259+
]
255260
.filter(
256261
(include) =>
257262
isPathEqual(include.fsPath, file) &&

server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ connection.onInitialize(async (params: InitializeParams) => {
350350
connection.console.log(
351351
`[Server(${process.pid}) ${
352352
workspaceFolders?.at(0)?.uri
353-
} Version 0.9.2 ] Started and initialize received`,
353+
} Version 0.9.3 ] Started and initialize received`,
354354
);
355355

356356
const capabilities = params.capabilities;

0 commit comments

Comments
 (0)