Skip to content

question: is there a way to disable autoformat on save in the current buffer? #374

@ghost

Description

currently, i have stylua set as the formatter_by_ft for lua, and also have lsp_fallback enabled in format_on_save.

I sometimes do not want to format, thus i would like to disable formatting on save. But to do that, right now, i have to manually change the configuration and delete stylua in formatter_by_ft and set lsp_fallback in format_on_save as false.

Is there a way to disable all formatting on save happening in the current buffer?

If not, I think it would be a really useful feature

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