dirichy

Results 29 comments of dirichy

I am making a plug for latex and all latex-injected language, and I want it work in norg, too.

Since there is no separate parser for latex_inline_math, we need to pass $ to tell latex parser it’s inline_math in it. That’s how nvim-treesitter do for markdown. I know maybe...

I tried remove the #offset! line and it works will, since “|” is named node in norg parser, it will not pass to latex parser.

BTW, if you really think the part of neorg syntax should not be passed, the offset number should be 2, not 1, since “|” is norg syntax, too, but now...

Some times this makes werid things such as the curly group is a uncle node of the color reference node, which make me can’t write a query to find the...

Iwonder how to update it. I use nvim-treesitter and when I try to update it, it says “up to date”. Should I clone this repo and compile by my self?

I tried :TSUpdateSync latex and it didn’t work. Even I try to uninstall the latex parser and reinstall it, the textcolor cmd is still parsered wrong. Should I clone this...

Thank you, it works. Sorry for reply so late.

遇到了同样的问题,\documentclass[fontset=macnew]{ctexbook} 无法解决。