summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/settings/jsonls.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 18:52:34 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 18:52:34 +0200
commitb74c9dd22e632bbe720587db92966c4d6811b766 (patch)
treef68e5bb862fd5a800f86852e535d29984f461cb3 /fnl/config/lsp/settings/jsonls.fnl
parent274648011686b1c822e63b03bdcc6f2ce8e9b41e (diff)
style: format with fnlfmt
Diffstat (limited to 'fnl/config/lsp/settings/jsonls.fnl')
-rw-r--r--fnl/config/lsp/settings/jsonls.fnl22
1 files changed, 9 insertions, 13 deletions
diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl
index c1cb710..73e8975 100644
--- a/fnl/config/lsp/settings/jsonls.fnl
+++ b/fnl/config/lsp/settings/jsonls.fnl
@@ -1,16 +1,12 @@
;; 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)]
- (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) ]))]}}}))
+ (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)]))]}}}))