almost everything
This commit is contained in:
14
lua/plugins/completion/conform.lua
Normal file
14
lua/plugins/completion/conform.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
vim.pack.add({ { src = "https://github.com/stevearc/conform.nvim", name = "conform" } })
|
||||
|
||||
require("conform").setup({
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
javascript = { "prettier" },
|
||||
python = { "black" },
|
||||
nix = { "nixfmt" },
|
||||
css = { "prettier" },
|
||||
rust = { "rustfmt" },
|
||||
},
|
||||
format_on_save = true,
|
||||
undojoin = true,
|
||||
})
|
||||
Reference in New Issue
Block a user