nvim: proto and terraform autoformat
This commit is contained in:
parent
9ef30664bb
commit
3374a5247c
1 changed files with 11 additions and 0 deletions
11
.config/nvim/lua/plugins/formatting.lua
Normal file
11
.config/nvim/lua/plugins/formatting.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"stevearc/conform.nvim",
|
||||||
|
opts = {
|
||||||
|
formatters_by_ft = {
|
||||||
|
["proto"] = { { "buf" } },
|
||||||
|
["terraform"] = { { "terraform_fmt" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue