SeniorMars / tree-sitter-typst

A TreeSitter parser for the Typst File Format
MIT License
137 stars 7 forks source link

No features listed when installed #5

Closed 3nt3 closed 1 year ago

3nt3 commented 1 year ago

When I install this parser and run :checkhealth nvim-treesitter in neovim, it shows up but in the table has neither highlight, locals, folds, indents or injections.

Am I missing something?

local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
parser_configs.typst = {
  install_info = {
    url = "https://github.com/SeniorMars/tree-sitter-typst",
    files = { "src/parser.c", "src/scanner.c" },
    branch = "main"
  },
  filetype = "typst",
}

I am aware this could be a neovim/treesitter specific issue not concerning this project

classabbyamp commented 1 year ago

there are no queries for this yet so nvim-treesitter can't know what it can do

3nt3 commented 1 year ago

that explains it lol