diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-10-04 15:15:06 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2022-10-04 21:15:06 +0200 |
commit | 6abb48105135ce3ae7eda22334f8104c5ddf20ce (patch) | |
tree | 0efe8c55093d5390fae8fd3386eeb7a35753bb6e /scripts/gen_vimdoc.py | |
parent | b075f49d9229b3e58a4d6677ed8e01db60687fa3 (diff) | |
download | rneovim-6abb48105135ce3ae7eda22334f8104c5ddf20ce.tar.gz rneovim-6abb48105135ce3ae7eda22334f8104c5ddf20ce.tar.bz2 rneovim-6abb48105135ce3ae7eda22334f8104c5ddf20ce.zip |
fix(docs): missing "(" in :help HTML
Problem:
Since https://github.com/neovim/tree-sitter-vimdoc/commit/eba7b5b646546d9fed9b40b2c72b9cc0048f1dfa
any opening paren and its leading whitespace " (" are missing in the
generated HTML. Example:
Use ":qa!<Enter>" (careful, all changes are lost!).
^^missing
Position the cursor on a tag (e.g. bars) and hit CTRL-].
^^missing
Solution:
The main recursive loop only processes named children, so check
named_child_count() instead of child_count(). Then anonymous nodes
won't get lost.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions