aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/format.odin6
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;
}