google / vimdoc

Helpfile generation for vim
Apache License 2.0
291 stars 29 forks source link

Vimdoc mis-parses doc comments on first line of file #20

Closed Soares closed 10 years ago

Soares commented 10 years ago

If the first line of a file contains a vimdoc leader, the first quote character leaks into the vimdoc.

For example, vimdoc parses:

1 ""
2 " @section Introduction, intro
3 " Stuff stuff stuff

and renders it in the help file as:

INTRODUCTION

" Stuff stuff stuff

If you strip off one quote character, vimdoc renders it as it should have been with two quotes.