Turn off error when formatting fails
This commit is contained in:
parent
70b182d3cc
commit
84128270ff
|
@ -21,6 +21,7 @@ return {
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
formatters_by_ft = require("tools").formatters,
|
formatters_by_ft = require("tools").formatters,
|
||||||
|
notify_on_error = false,
|
||||||
format_on_save = function(bufnr)
|
format_on_save = function(bufnr)
|
||||||
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
|
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user