feat(editor): complete the apis block and drop the removed snippets
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
// WRN editor language server source hash: 92a9c7cd3babafdbc518a6f20c0c8f0025e49e92a28a2fa5598c8bb7a858e800
|
||||
// WRN editor language server source hash: f75d793688bdb42225d2314660c87852a108b76311974be9307d11e42ecfbb41
|
||||
// WRN editor language server generator hash: f593a44aaf05495b789ce7a3086bee1eebb951b884d41c0e017bbcfe5f547e72
|
||||
// @bun @bun-cjs
|
||||
(function(exports, require, module, __filename, __dirname) {var __create = Object.create;
|
||||
@@ -173590,7 +173590,7 @@ function htmlToWrn(html, name = "ImportedPage") {
|
||||
}
|
||||
|
||||
// packages/language-server/src/index.ts
|
||||
var WRN_COMPLETIONS = [
|
||||
var WRN_KEYWORDS = [
|
||||
"page",
|
||||
"component",
|
||||
"layout",
|
||||
@@ -173604,6 +173604,7 @@ var WRN_COMPLETIONS = [
|
||||
"load",
|
||||
"action",
|
||||
"api",
|
||||
"apis",
|
||||
"realtime",
|
||||
"view",
|
||||
"style",
|
||||
@@ -173766,7 +173767,7 @@ ${declaration[0]}
|
||||
};
|
||||
}
|
||||
function completionItems() {
|
||||
return WRN_COMPLETIONS.map((label) => ({ label, kind: 14, detail: "WRNexus language keyword" }));
|
||||
return WRN_KEYWORDS.map((label) => ({ label, kind: 14, detail: "WRNexus language keyword" }));
|
||||
}
|
||||
var semanticTokenTypes = ["variable"];
|
||||
var semanticTokenModifiers = ["declaration", "modification"];
|
||||
|
||||
Reference in New Issue
Block a user