Skip to content

check if quickfix buffer is empty #33

@Konfekt

Description

@Konfekt

In

execute 'write! quickfix-' . bufnr('%')
there could be a check if quickfix-' . bufnr('%') is empty before writing to avoid

Error detected while processing function <SNR>247_parse_flags[84]..<SNR>247_start[16]..<SNR>247_run[3]..BufRead Autocommands for "quickfix"..function <SNR>236_OnQuickfixInit:
line   10:
E749: Empty buffer

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