nvim-neorg / tree-sitter-norg

A TreeSitter parser for the Neorg File Format
MIT License
99 stars 14 forks source link

Cyrillic `н` letter bug #31

Closed anuvyklack closed 2 years ago

anuvyklack commented 2 years ago

Treesitter considers Cyrillic н letter (the analog of Latin n) at the beginning of the word as NeorgMarkupVariableDelimiter and if there is another one somewhere at the end of the word, everything between these two letters inside one paragraph becomes a variable.

For example:

Я тоже не знал, пока в моей жизни не появились проклятые рыбки. Жизнь аквариумиста - это один сплошной стресс.
mrossinek commented 2 years ago

Thanks for the bug report! I just fixed this and hopefully we will not run into a similar issue again in the future :+1:

anuvyklack commented 2 years ago

Works now. Thank you!