google / google/vimdoc

Avoid extra blank output lines between consecutive vimscript examples

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
306
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I noticed vimdoc outputs some ugly extra blank lines between consecutive vimscript examples if you have something like:
```vim
""
" Example: >
" call Foo()
" < >
" call Bar()
" <
```

Actual output:
```
Example: >
call Foo()
<

>
call Bar()
<
```

Expected output:
```
Example: >
call Foo()
< >
call Bar()
<
```

The vim helpfile syntax does seem to detect those correctly as code examples and highlight both.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.