mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-16 04:14:41 +02:00
fix autoformatting
This commit is contained in:
parent
a84f5eb36b
commit
e541ef5482
5 changed files with 38 additions and 25 deletions
|
@ -80,7 +80,7 @@ vim.api.nvim_exec([[
|
|||
if O.lang.rust.autoformat then
|
||||
require('lv-utils').define_augroups({
|
||||
_rust_format = {
|
||||
'BufWritePre', '*.rs', 'lua vim.lsp.buf.formatting_sync(nil,1000)'
|
||||
{'BufWritePre', '*.rs', 'lua vim.lsp.buf.formatting_sync(nil,1000)'}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue