mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
fix format
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
return {
|
||||
-- Autoformat
|
||||
'stevearc/conform.nvim',
|
||||
event = { 'BufWritePre' },
|
||||
event = { 'BufWritePre', 'BufNewFile' },
|
||||
cmd = { 'ConformInfo' },
|
||||
keys = {
|
||||
{
|
||||
@@ -12,7 +12,7 @@ return {
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
notify_on_error = false,
|
||||
notify_on_error = true,
|
||||
format_on_save = function(bufnr)
|
||||
-- Disable "format_on_save lsp_fallback" for languages that don't
|
||||
-- have a well standardized coding style. You can add additional
|
||||
|
||||
Reference in New Issue
Block a user