diff options
Diffstat (limited to 'modules/neovim/nvim/lua/config/lsp/conform.lua')
| -rw-r--r-- | modules/neovim/nvim/lua/config/lsp/conform.lua | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/modules/neovim/nvim/lua/config/lsp/conform.lua b/modules/neovim/nvim/lua/config/lsp/conform.lua index 26e4e6c..879b8ce 100644 --- a/modules/neovim/nvim/lua/config/lsp/conform.lua +++ b/modules/neovim/nvim/lua/config/lsp/conform.lua @@ -1,14 +1,15 @@ -- unused for now require("conform").setup({ - formatters_by_ft = { - lua = { "stylua" }, - python = { "black", "isort" }, - zig = { "zigfmt" }, - nix = { "nixfmt" }, - c = { "clang-formt" }, - cpp = { "clang-format" }, - scala = { "scalafmt"} - }, + formatters_by_ft = { + lua = { "stylua" }, + python = { "black", "isort" }, + zig = { "zigfmt" }, + nix = { "nixfmt" }, + c = { "clang-formt" }, + cpp = { "clang-format" }, + scala = { "scalafmt" }, + bzl = { "buildifier" }, + }, }) vim.o.formatexpr = "v:lua.require'conform'.formatexpr()" |