From 6070844d69cab5b4a5bb50473bd6ccc2343ff7dd Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Tue, 21 Jun 2022 23:22:40 +0200 Subject: Add new json variable for picking the space amount --- src/server/format.odin | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server') diff --git a/src/server/format.odin b/src/server/format.odin index 4c51943..3cf8de6 100644 --- a/src/server/format.odin +++ b/src/server/format.odin @@ -21,6 +21,7 @@ get_complete_format :: proc(document: ^common.Document, config: ^common.Config) style := printer.default_style style.max_characters = config.formatter.characters style.tabs = config.formatter.tabs + style.spaces = config.formatter.spaces prnt := printer.make_printer(style, context.temp_allocator) -- cgit v1.2.3