Skip to content

Commit d5197a2

Browse files
committed
feat: update pl lsp version
1 parent b034bf0 commit d5197a2

File tree

4 files changed

+98
-96
lines changed

4 files changed

+98
-96
lines changed

src/constant/monacoCodes.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
export const basicCode = [
22
{
33
title: 'hello world',
4-
code: `use std::io;
5-
fn main() i64 {
6-
io::print_s("hello world\\n");
4+
code: `fn main() i64 {
5+
println!("hello world!");
76
return 0;
8-
}`,
7+
}
8+
`,
99
},
1010
{
1111
title: 'fibonacci',
12-
code: `use std::io;
13-
fn main() i64 {
14-
io::printi64ln(getFibonacci(10));
12+
code: `fn main() i64 {
13+
let result = getFibonacci(10);
14+
println!(result);
1515
return 0;
1616
}
1717

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-c22309a.0",
34+
"@pivot-lang/pivot-lang": "0.1.2-251570a.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)