refactor: more configurable format-on-save (#1937)

This commit is contained in:
kylo252 2021-11-14 13:44:00 +01:00 committed by GitHub
parent 888b1fee21
commit b0a9ee720a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 66 additions and 30 deletions

View file

@ -16,6 +16,7 @@ M.defaults = {
[[ command! LvimUpdate lua require('lvim.bootstrap').update() ]],
[[ command! LvimSyncCorePlugins lua require('lvim.plugin-loader'):sync_core_plugins() ]],
[[ command! LvimReload lua require('lvim.config'):reload() ]],
[[ command! LvimToggleFormatOnSave lua require('lvim.core.autocmds').toggle_format_on_save() ]],
}
M.load = function(commands)