diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-30 22:02:16 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-30 22:02:16 +0200 |
commit | f1ba54105f8d0ff0187b4336f80a0040043549f1 (patch) | |
tree | 21aa72994e255352895f69d0d975158e6abe2f14 /fnl/config/lsp/settings | |
parent | 8884050b2b86c75a0676976df0150c11bdda09ea (diff) |
style: format
Diffstat (limited to 'fnl/config/lsp/settings')
-rw-r--r-- | fnl/config/lsp/settings/jsonls.fnl | 18 | ||||
-rw-r--r-- | fnl/config/lsp/settings/pyright.fnl | 6 |
2 files changed, 17 insertions, 7 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)]))]}}}) diff --git a/fnl/config/lsp/settings/pyright.fnl b/fnl/config/lsp/settings/pyright.fnl index 639ecff..b1fa064 100644 --- a/fnl/config/lsp/settings/pyright.fnl +++ b/fnl/config/lsp/settings/pyright.fnl @@ -1,4 +1,8 @@ ;; Config for pyright language server. (module config.lsp.settings.pyright) -(def opts {:settings {:python {:analysis {:typeCheckingMode :off}}}}) +(def opts + {:settings + {:python + {:analysis + {:typeCheckingMode :off}}}}) |