Skip to content

Commit fb5067c

Browse files
committed
fix: use parser::new instead of parser::default
1 parent dac2d32 commit fb5067c

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)