diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-08 00:02:45 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-08 00:02:45 +0200 |
commit | 5756648079a7d9753ab72427e0ff20a9178dd1e1 (patch) | |
tree | 1d9cda0568c7b44cb37559a78f32869aebec89a8 | |
parent | 76ff550565d121dfba3aab122e922e66d650e47f (diff) |
fix(lang): typos
-rw-r--r-- | fnl/config/lsp/null-ls.fnl | 32 | ||||
-rw-r--r-- | fnl/config/lsp/settings/jsonls.fnl | 4 |
2 files changed, 18 insertions, 18 deletions
diff --git a/fnl/config/lsp/null-ls.fnl b/fnl/config/lsp/null-ls.fnl index 0f9e459..d1f1af1 100644 --- a/fnl/config/lsp/null-ls.fnl +++ b/fnl/config/lsp/null-ls.fnl @@ -4,26 +4,26 @@ (let [null-ls (util.load-plugin :null-ls)] (let [formatting null_ls.builtins.formatting - diagnostics null_ls.builtins.diagnostics]) + diagnostics null_ls.builtins.diagnostics] (null-ls.setup {:debug false :sources [ - (diagnostics.flake8) - (diagnostics.golangci_lint) - (diagnostics.jsonlint) - (diagnostics.shellcheck) - (diagnostics.yamllint) + diagnostics.flake8 + diagnostics.golangci_lint + diagnostics.jsonlint + diagnostics.shellcheck + diagnostics.yamllint (formatting.black.with { extra_args [ "--fast" ] }) - (formatting.erlfmt) - (formatting.fourmolu) - (formatting.gofmt) - (formatting.goimports) - (formatting.nixfmt) + formatting.erlfmt + formatting.fourmolu + formatting.gofmt + formatting.goimports + formatting.nixfmt (formatting.prettier.with { extra_args [ "--no-semi" "--single-quote" "--jsx-single-quote" ] }) - (formatting.rustfmt) - (formatting.shfmt) - (formatting.sqlformat) - (formatting.stylua) - (formatting.terraform_fmt)]})) + formatting.rustfmt + formatting.shfmt + formatting.sqlformat + formatting.stylua + formatting.terraform_fmt]}))) diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl index 37c4597..c1cb710 100644 --- a/fnl/config/lsp/settings/jsonls.fnl +++ b/fnl/config/lsp/settings/jsonls.fnl @@ -11,6 +11,6 @@ :schemas (schemastore.json.schemas)}} :setup { :commands { - :Format { + :Format [ (fn [] - (vim.lsp.buf.range_formatting [] [ 0 0 ] [ (vim.fn.line "$" 0) ]))}}}})) + (vim.lsp.buf.range_formatting [] [ 0 0 ] [ (vim.fn.line "$" 0) ]))]}}})) |