Skip to content

[question] how to disable formatting for a filetype ?Β #815

@calvarez-lydia

Description

@calvarez-lydia

I read some things that said to write something like

formatters_by_ft = {
    php = { lsp_format = "never" },
}

but that doesn't seem to work, I could I completely disable the auto formatting on save for a given ft ?

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