nvim-neorg / rust-norg

A robust parser for Norg for tools that don't use tree-sitter.
11 stars 3 forks source link

Bug: discrepancies between the use of `ParagraphSegment` and `ParagraphSegmentToken` #6

Closed NTBBloodbath closed 4 weeks ago

NTBBloodbath commented 1 month ago

A paragraph is now ParagraphSegment but a heading title is still a ParagraphSegmentToken and it causes huge problems (perhaps this is a problem with other nodes that contains text, didn't test it very deeply yet). It seems like it is hidden behind the ParagrahTokenList type.

cc @vhyrro

vhyrro commented 4 weeks ago

Fixed in latest commit :)