Skip to content

Vimdoc needs some way to continue long @throws lines #22

Open

Description

@Soares

We got rid of pipe line continuations in vimdoc. That means currently there's no way to have an @throws line longer than 80 characters.

Given this vimdoc comment:

" @throws Ambiguous if {name} refers to multiple plugins/packages within one
" source.

Vimdoc currently creates an awkward line wrap in the output:

Throws ERROR(Ambiguous) if {name} refers to multiple plugins/packages within
 one
 source.

We discussed having the convention for continuing directive lines be a standard 4-space indent:

" @throws Ambiguous if {name} refers to multiple plugins/packages within one
"     source.

Other directives like @tagline and @order will need this as well.

Activity

  1. vinsymoyya commented on Nov 14, 2026

    @vinsymoyya

    Opened #154. Four-space comment continuations now join @throws, @order, and @tagline values while preserving the first source-line number. Unindented text, descriptions following @usage, and indented block directives remain separate.

    The report's throws behavior and multi-line order cases fail on upstream. Independent review also identified three indented-directive transitions, now covered by regressions. All 15 local tests and 3 subtests pass. README documents the convention; hosted checks are tracked on the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions