From f845a7b0588559750b1cb7eede1b3aecb450cdfe Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 1 May 2022 23:06:03 +0200 Subject: style: fmt with fnlfmt --- fnl/config/lsp/settings/jsonls.fnl | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'fnl/config/lsp/settings/jsonls.fnl') diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl index f8dfdc2..18d9256 100644 --- a/fnl/config/lsp/settings/jsonls.fnl +++ b/fnl/config/lsp/settings/jsonls.fnl @@ -1,17 +1,10 @@ ;; Json schema store catalog language server. -(module config.lsp.settings.jsonls - {autoload {util util}}) +(module config.lsp.settings.jsonls {autoload {util util}}) (let [schemastore (util.load-plugin :schemastore)] - {:init_options - {:providerFormatter false} - :settings - {:json - {:schemas - (schemastore.json.schemas)}} - :setup - {:commands - {:Format - [(fn [] - (vim.lsp.buf.range_formatting - [] [0 0] [(vim.fn.line "$" 0)]))]}}}) + {:init_options {:providerFormatter false} + :settings {:json {:schemas (schemastore.json.schemas)}} + :setup {:commands {:Format [(fn [] + (vim.lsp.buf.range_formatting [] [0 0] + [(vim.fn.line "$" + 0)]))]}}}) -- cgit v1.2.3-70-g09d2