@markdy/language-server 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ var KEYWORDS = [
|
|
|
37
37
|
"hide",
|
|
38
38
|
"glow",
|
|
39
39
|
"focus",
|
|
40
|
+
"frame",
|
|
40
41
|
...BEAT_CUE_KEYWORDS,
|
|
41
42
|
...NODE_KINDS
|
|
42
43
|
];
|
|
@@ -121,6 +122,7 @@ connection.onHover((params) => {
|
|
|
121
122
|
if (!doc) return null;
|
|
122
123
|
const line = doc.getText().split(/\r?\n/)[params.position.line]?.trim() ?? "";
|
|
123
124
|
if (line.startsWith("beat ")) return { contents: { kind: "markdown", value: "Named narrative beat with indented cues." } };
|
|
125
|
+
if (line.startsWith("frame ")) return { contents: { kind: "markdown", value: "Camera cue that frames one or more nodes or groups." } };
|
|
124
126
|
if (line.includes("->")) return { contents: { kind: "markdown", value: "Request/call flow edge." } };
|
|
125
127
|
return null;
|
|
126
128
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/language-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "Language Server Protocol implementation for MarkdyScript diagrams.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"vscode-languageserver": "^9.0.1",
|
|
47
47
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
48
|
-
"@markdy/
|
|
49
|
-
"@markdy/
|
|
48
|
+
"@markdy/core": "0.8.7",
|
|
49
|
+
"@markdy/stdlib-systems": "0.8.7"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"tsup": "^8.5.1",
|