From cb0da225eec88b7d5d16e0ddbacff59d626f1b2b Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 1 Aug 2022 14:18:48 +0200 Subject: [PATCH] neovim: add buf, buildifier to null-ls --- .config/nvim/lua/plugins/null-ls.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.config/nvim/lua/plugins/null-ls.lua b/.config/nvim/lua/plugins/null-ls.lua index afaf1d4..a0dbe21 100644 --- a/.config/nvim/lua/plugins/null-ls.lua +++ b/.config/nvim/lua/plugins/null-ls.lua @@ -3,11 +3,12 @@ local builtins = require("null-ls.builtins") null_ls.setup({ sources = { - require("null-ls").builtins.formatting.prettierd, - require("null-ls").builtins.formatting.protolint, - require("null-ls").builtins.formatting.stylua, - require("null-ls").builtins.diagnostics.eslint, - require("null-ls").builtins.completion.spell, + builtins.formatting.buf, + builtins.formatting.shfmt, + builtins.formatting.buildifier, + builtins.completion.spell, + builtins.diagnostics.buf, + builtins.diagnostics.buildifier, }, debug = true, })