Shougo / unite-outline

outline source for unite.vim
http://d.hatena.ne.jp/h1mesuke/20101107/p1
152 stars 41 forks source link

The comments who start with # in markdown code blocks are considered as a headings #66

Closed KabbAmine closed 8 years ago

KabbAmine commented 8 years ago

In code blocks in markdown files, if an instruction starts with # it will be considered being a heading.

md

A workaround to prevent that is to add a space before the comment:

    ```sh
     # A comment
    echo $foo
Shougo commented 8 years ago

https://github.com/Shougo/unite-outline/blob/master/autoload/unite/sources/outline/defaults/markdown.vim

Pull request is wellcome.

KabbAmine commented 8 years ago

67 solves the issue, thanks to @thinca :smiley: