Closed gsuuon closed 7 months ago
Unfortunately this seems like a windows issue, where it parses the generate command in the build step wrong. Maybe it was fixed by changing the naming in the binding files? Otherwise, there is not currently much to do about this, other than to add the pre-generated files to another branch
Not sure if you saw this comment but it doesn't look like the pre-built parsers are necessary for using with nvim-treesitter. I'm not sure if they're included for another use-case, but simply removing the build step would unblock using this with nvim on windows
Hi @gsuuon, when I originally experimented with this I could not get the :TSGenerateFromGrammar
command to work, since this grammar also requires that the external scanner src/scanner.cc
is compiled along with the grammar.
Maybe there is a way around this, but imo the nicest solution would be to setup a ci pipeline generating the parser files on a different branch
npm install
is failing for me on windowsIf I remove the generate on install:
I get
error LNK2001: unresolved external symbol tree_sitter_YOUR_LANGUAGE_NAME
: