neovim / tree-sitter-vimdoc

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

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

Closed zeertzjq closed 4 months ago

zeertzjq commented 4 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 4 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.