neovim / tree-sitter-vimdoc

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

fix: don't capture leading whitespace in modeline #129

Closed clason closed 5 months ago

clason commented 5 months ago

Problem: Including leading whitespace in modeline leads (somehow) to leading whitespace being included in other nodes, especially taglink, and thus concealed. This breaks right-aligned taglinks in Neovim documentation.

Solution: Do not include whitespace in modeline.