diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-07-30 19:10:47 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-07-30 19:10:47 +0200 |
| commit | a9381e228bad1fee86a14936f48d70562c96d469 (patch) | |
| tree | 23c1c77eef440e37442b21f64cb245e64727f351 /src/server/format.odin | |
| parent | 4a77ef3befcf354e9beb795fca7ce734235c468e (diff) | |
moving the analysis code to it's own analysis package to prepare for reference handling in the indexer.
Diffstat (limited to 'src/server/format.odin')
| -rw-r--r-- | src/server/format.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/format.odin b/src/server/format.odin index b29669a..82857dc 100644 --- a/src/server/format.odin +++ b/src/server/format.odin @@ -22,7 +22,7 @@ TextEdit :: struct { newText: string, } -get_complete_format :: proc(document: ^Document) -> ([]TextEdit, bool) { +get_complete_format :: proc(document: ^common.Document) -> ([]TextEdit, bool) { prnt := printer.make_printer(printer.default_style, context.temp_allocator); if document.ast.syntax_error_count > 0 { |