summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/settings
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-16 01:40:16 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-16 01:40:16 +0200
commit6cb31718df762c6ebf764986074f08b19d6f82f8 (patch)
tree4bc60c9d94de082914ea9ab2d488114caff4edd4 /fnl/config/lsp/settings
parent68c0f6bab06ea587b9b258d1ad3b0c9870bc163f (diff)
Refactor loading of plugins with packer
Diffstat (limited to 'fnl/config/lsp/settings')
-rw-r--r--fnl/config/lsp/settings/jsonls.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl
index a2cb78c..3fe9299 100644
--- a/fnl/config/lsp/settings/jsonls.fnl
+++ b/fnl/config/lsp/settings/jsonls.fnl
@@ -1,7 +1,7 @@
;; Json schema store catalog language server.
-(module config.lsp.settings.jsonls {autoload {: util}})
+(module config.lsp.settings.jsonls {autoload {:util :config.util}})
-(let [schemastore (util.load-plugin :schemastore)]
+(let [schemastore (util.prequire :schemastore)]
{:init_options {:providerFormatter false}
:settings {:json {:schemas (schemastore.json.schemas)}}
:setup {:commands {:Format [(fn []