From a2c76e060a5ec58c3abe0df72f4e9f5c76c321c9 Mon Sep 17 00:00:00 2001 From: DanielGavin Date: Sat, 20 Mar 2021 00:58:27 +0100 Subject: remove format --- src/server/format.odin | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3