Add conform for foramtting and mason back for lsp installation but nothing more
This commit is contained in:
15
lua/plugins/conform.lua
Normal file
15
lua/plugins/conform.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
"stevearc/conform.nvim",
|
||||
config = function()
|
||||
require("conform").setup {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
python = { "black" }
|
||||
},
|
||||
format_on_save = {
|
||||
timeout_ms = 500,
|
||||
lsp_format = "fallback"
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user