diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-12 21:57:33 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-12 21:57:33 +0200 |
commit | 9ad296c6406e2d164c552a05f251414bf14c591a (patch) | |
tree | cd352b274a931797ad4dc0f09d6db794d22b8d4a /fnl/config/lsp/settings | |
parent | 1e6b98081b81447311f2fe9ecb99e9baf40a4efa (diff) |
fix(schemastore): remove setup fn
Diffstat (limited to 'fnl/config/lsp/settings')
-rw-r--r-- | fnl/config/lsp/settings/jsonls.fnl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl index 73e8975..18d9256 100644 --- a/fnl/config/lsp/settings/jsonls.fnl +++ b/fnl/config/lsp/settings/jsonls.fnl @@ -2,11 +2,9 @@ (module config.lsp.settings.jsonls {autoload {util util}}) (let [schemastore (util.load-plugin :schemastore)] - (schemastore.setup {: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)]))]}}}) |