| 1234567891011121314151617181920212223 | -- autoformatif O.format_on_save then  require("lv-utils").define_augroups {    autoformat = {      {        "BufWritePre",        "*",        [[try | undojoin | Neoformat | catch /^Vim\%((\a\+)\)\=:E790/ | finally | silent Neoformat | endtry]],      },    },  }endvim.g.neoformat_run_all_formatters = 0vim.g.neoformat_enabled_python = { "autopep8", "yapf", "docformatter" }vim.g.neoformat_enabled_javascript = { "prettier" }if not O.format_on_save then  vim.cmd [[if exists('#autoformat#BufWritePre')	:autocmd! autoformat	endif]]end
 |