aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2021-03-20 00:58:27 +0100
committerGitHub <noreply@github.com>2021-03-20 00:58:27 +0100
commita2c76e060a5ec58c3abe0df72f4e9f5c76c321c9 (patch)
tree75ff59c0e3d594b98f2e48c39743b72e372c0c67 /src/server
parentd8da653cb54ead78326213c6ceb55aa10e551a76 (diff)
remove format
Diffstat (limited to 'src/server')
-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;
}