diff --git a/tools/lsp/squirrel/grammar/camligo/grammar.js b/tools/lsp/squirrel/grammar/camligo/grammar.js index e3d9fb638..483fb2817 100644 --- a/tools/lsp/squirrel/grammar/camligo/grammar.js +++ b/tools/lsp/squirrel/grammar/camligo/grammar.js @@ -229,7 +229,7 @@ module.exports = grammar({ "fun", repeat1(field("arg", $._paren_pattern)), "->", - field("body", $._expr) + field("body", $._program) ), list_expr: $ => seq(