From e1c5a423a6e8abec507d89863903be869762a55e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 6 Apr 2022 23:47:53 +0200 Subject: chore(lua): nuke lua files --- lua/config/lsp/null-ls.lua | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 lua/config/lsp/null-ls.lua (limited to 'lua/config/lsp/null-ls.lua') diff --git a/lua/config/lsp/null-ls.lua b/lua/config/lsp/null-ls.lua deleted file mode 100644 index 662d429..0000000 --- a/lua/config/lsp/null-ls.lua +++ /dev/null @@ -1,38 +0,0 @@ --- Adds LSP diagnostics and formatting. - -local null_ls_status_ok, null_ls = pcall(require, "null-ls") -if not null_ls_status_ok then - return -end - --- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting -local formatting = null_ls.builtins.formatting - --- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics -local diagnostics = null_ls.builtins.diagnostics - -null_ls.setup { - debug = false, - sources = { - diagnostics.cppcheck, - 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.prettier.with { - extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" }, - }, - formatting.rustfmt, - formatting.shfmt, - formatting.sqlformat, - formatting.stylua, - formatting.terraform_fmt, - }, -} -- cgit v1.2.3-70-g09d2