Skip to content

Disabling autoformat doesn't work #91

@rollf

Description

@rollf

Hi,

I believe the FormatDisable / FormatEnable commands do not work. After executing :FormatDisable, the buffer still gets formatted. However, :lua vim.g.disable_autoformat=true allows to correctly disable formatting (as expected).

I'm suspecting the usage of lsp-format (a plugin that is enabled here) causes this as it defines the same commands (but I'm only guessing).

Thanks for sharing your config!

EDIT: Changed wording for neutrality

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