summaryrefslogtreecommitdiffhomepage
path: root/js/src/tool/view.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-26 17:15:41 -0400
committerDax Raad <[email protected]>2025-05-26 17:15:47 -0400
commitde9f144858107b4230f44956283542bd137bffb6 (patch)
tree72f2d0b6e0fdaf9bf249115358576cb748b10dec /js/src/tool/view.ts
parent0ad87389331c4b18bcecec74476853a2e16a8d10 (diff)
downloadopencode-de9f144858107b4230f44956283542bd137bffb6.tar.gz
opencode-de9f144858107b4230f44956283542bd137bffb6.zip
sync
Diffstat (limited to 'js/src/tool/view.ts')
-rw-r--r--js/src/tool/view.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/tool/view.ts b/js/src/tool/view.ts
index 5b429c63d..138f9ad3a 100644
--- a/js/src/tool/view.ts
+++ b/js/src/tool/view.ts
@@ -115,7 +115,8 @@ export const view = Tool.define({
}
output += "\n</file>";
- await LSP.run((client) => client.notify.open({ path: filePath }));
+ // just warms the lsp client
+ LSP.file(filePath);
FileTimes.read(filePath);
return {