Skip to content

Support :noautocmd write #89

@knpwrs

Description

@knpwrs

if cnf.opts.write_all_buffers then
cmd("silent! wall")
else
api.nvim_buf_call(buf, function()
cmd("silent! write")
end)
end

It would be great if there could be an option to either:

  1. Support a :noautocmd mode, so we can disable autocommands on auto-saves (e.g., disable formatting when this plugin saves)
  2. Support specifying the write commands and default to the wall and write commands that are already here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions