neovim / tree-sitter-vimdoc

Tree-sitter parser for Vim help files
Apache License 2.0
97 stars 13 forks source link

`~` is not concealed when the line is below `============` #135

Closed zeertzjq closed 2 months ago

zeertzjq commented 2 months ago

For example, in :h ada.vim, there is the following heading:

==============================================================================
1. Syntax Highlighting ~

The tilde here should be concealed, but it isn't.

clason commented 2 months ago

No, it shouldn't. This is an H1 heading due to the delimiter, so the tilde (which denotes a H4 heading) is wrong and should be removed. See the Readme.