diff options
Diffstat (limited to 'fnl/config/lsp/settings/jsonls.fnl')
-rw-r--r-- | fnl/config/lsp/settings/jsonls.fnl | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl index aa9f781..f8dfdc2 100644 --- a/fnl/config/lsp/settings/jsonls.fnl +++ b/fnl/config/lsp/settings/jsonls.fnl @@ -3,9 +3,15 @@ {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)]))]}}}) |