tree-sitter-latex icon indicating copy to clipboard operation
tree-sitter-latex copied to clipboard

Add support for `.asy` files

Open tarsobcaldas opened this issue 2 years ago • 1 comments

The parser identifies the asy environment in LaTeX, and has a proper highlighting for asymptote's syntax, but the .asy files themselves don't have a parser. Is it reasonable for this feature to be included in this repository? Should be another one for itself?

tarsobcaldas avatar Apr 15 '23 00:04 tarsobcaldas

That needs to be a separate parser indeed; but you can also just use a C parser like nvim-treesitter does.

clason avatar Apr 15 '23 09:04 clason