diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2021-03-20 00:58:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-20 00:58:27 +0100 |
| commit | a2c76e060a5ec58c3abe0df72f4e9f5c76c321c9 (patch) | |
| tree | 75ff59c0e3d594b98f2e48c39743b72e372c0c67 | |
| parent | d8da653cb54ead78326213c6ceb55aa10e551a76 (diff) | |
remove format
| -rw-r--r-- | src/server/format.odin | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/format.odin b/src/server/format.odin index 791bab8..2520474 100644 --- a/src/server/format.odin +++ b/src/server/format.odin @@ -3,7 +3,7 @@ package server import "shared:common" -import "core:odin/printer" +//import "core:odin/printer" FormattingOptions :: struct { tabSize: uint, @@ -24,7 +24,7 @@ TextEdit :: struct { } get_complete_format :: proc (document: ^Document) -> ([]TextEdit, bool) { - + /* prnt := printer.make_printer(printer.default_style, context.temp_allocator); printer.print_file(&prnt, &document.ast); @@ -50,4 +50,6 @@ get_complete_format :: proc (document: ^Document) -> ([]TextEdit, bool) { append(&edits, edit); return edits[:], true; + */ + return {}, true; } |