Skip to content

Commit c7c30ad

Browse files
authored
Merge pull request #2 from supabase/fix/parser
fix: use parser::new instead of parser::default
2 parents dac2d32 + fb5067c commit c7c30ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/postgres_lsp/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl Backend {
245245
.insert(params.uri.to_string(), rope.clone());
246246

247247
let rope = ropey::Rope::from_str(&params.text);
248-
let mut parser = Parser::default();
248+
let mut parser = Parser::new();
249249

250250
parser.parse_source_file(&params.text);
251251

0 commit comments

Comments
 (0)