fix autoformat
This commit is contained in:
@@ -7,7 +7,7 @@ local MimuGroup = augroup("mimu", {})
|
|||||||
|
|
||||||
local autocmd = vim.api.nvim_create_autocmd
|
local autocmd = vim.api.nvim_create_autocmd
|
||||||
|
|
||||||
vim.cmd [[autocmd BufWritePre <buffer> lua vim.lsp.buf.format()]]
|
vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]]
|
||||||
|
|
||||||
autocmd("LspAttach", {
|
autocmd("LspAttach", {
|
||||||
group = MimuGroup,
|
group = MimuGroup,
|
||||||
|
|||||||
Reference in New Issue
Block a user