Adding rust support
This commit is contained in:
parent
ab1a8d63ec
commit
5af5415454
2
init.lua
2
init.lua
|
@ -695,6 +695,7 @@ require('lazy').setup({
|
||||||
go = { 'gofmt', 'goimports', 'golines' },
|
go = { 'gofmt', 'goimports', 'golines' },
|
||||||
terraform = { 'terraform_fmt' },
|
terraform = { 'terraform_fmt' },
|
||||||
json = { 'jsonnetfmt', 'jq' },
|
json = { 'jsonnetfmt', 'jq' },
|
||||||
|
rust = { 'rustfmt' },
|
||||||
-- yaml = { 'yq' },
|
-- yaml = { 'yq' },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- Conform can also run multiple formatters sequentially
|
||||||
-- python = { "isort", "black" },
|
-- python = { "isort", "black" },
|
||||||
|
@ -902,6 +903,7 @@ require('lazy').setup({
|
||||||
'dockerfile',
|
'dockerfile',
|
||||||
'gitignore',
|
'gitignore',
|
||||||
'json',
|
'json',
|
||||||
|
'rust',
|
||||||
},
|
},
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
|
Loading…
Reference in New Issue