mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-10 13:05:09 +02:00
UPDATED init.lua to support auto-formatting upon saving for Rust.
This commit is contained in:
parent
5ae1f17bcd
commit
ee6c4368ae
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -789,7 +789,7 @@ require('lazy').setup({
|
||||||
lua = { 'stylua' },
|
lua = { 'stylua' },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- Conform can also run multiple formatters sequentially
|
||||||
-- python = { "isort", "black" },
|
-- python = { "isort", "black" },
|
||||||
--
|
rust = { 'rustfmt' },
|
||||||
-- You can use 'stop_after_first' to run the first available formatter from the list
|
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||||
-- javascript = { "prettierd", "prettier", stop_after_first = true },
|
-- javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue