Skip to content

g:ledger_dangerous_formatprg sets formatprg, but doesn't change gq behavior #177

@benknoble

Description

@benknoble

gq uses formatexpr over formatprg if both are set, and even with the config mentioned in the title, both are set.

Thus if you really want to use the dangerous formatprg, you have to also setup an ftplugin to unset formatexpr. (Should vim-ledger do this automatically? I'm not sure, hence this issue as a discussion forum.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions