Skip to content

Commit b0fac62

Browse files
committed
chore: update lsp version
1 parent ca82e47 commit b0fac62

File tree

4 files changed

+91
-94
lines changed

4 files changed

+91
-94
lines changed

src/components/tabList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function run(params: string) {
1919
isRunning.value = true;
2020
try {
2121
let re = await axios.post<{ result: string }>(
22-
"http://43.154.191.136:8080/coderunner",
22+
"https://code.lang.pivotstudio.cn/coderunner",
2323
{
2424
code: params,
2525
}

src/constant/monacoCodes.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub fn main() i64 {
101101
return 0;
102102
}
103103
104-
pub fn count(mp: [[i64 * 5] * 5]) i64 {
104+
pub fn count(mp: [[i64]]) i64 {
105105
let res = 0;
106106
let w = 5;
107107
let h = 5;
@@ -128,7 +128,8 @@ pub fn count(mp: [[i64 * 5] * 5]) i64 {
128128
}
129129
return res;
130130
}
131-
131+
132+
132133
`,
133134
},
134135
];

src/hooks/monaco/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"registry": "https://registry.npmjs.org/"
3232
},
3333
"dependencies": {
34-
"@pivot-lang/pivot-lang": "0.1.2-251570a.0",
34+
"@pivot-lang/pivot-lang": "0.1.2-c195488.0",
3535
"monaco-editor": "^0.37.1",
3636
"monaco-themes": "^0.4.4",
3737
"vscode-languageserver-types": "^3.17.3"

0 commit comments

Comments
 (0)