Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: keycodes, fixes: taglink, column_heading, argument #27

Merged
merged 5 commits into from
Oct 5, 2022

Conversation

justinmk
Copy link
Member

@justinmk justinmk commented Oct 5, 2022

Problem:
taglinks like `|-x|` and `|==|` are matched against the $.word pattern
`/\|---[-+]+\|/` and `/\|===[=+]+\|/`, respectively (treesitter bug?).
This prevents valid taglinks from being recognized.

Solution:
Give up on "|====|" and "|----|" plaintext nodes. These will now be
parsed as taglinks. Consumers must ignore these cases manually.
Example from ":help definitions":

    2. bbb		2. bbb		2. bbb		10. ddd
    3. ccc ccc ccc	3. ccc ccc ccc	3. ccc ccc c	11. ~
@justinmk justinmk merged commit d595021 into neovim:master Oct 5, 2022
@justinmk justinmk deleted the fixes branch October 5, 2022 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant