This also causes byte-compilation warnings on a system that has no
tree-sitter installed:
In end of data:
progmodes/typescript-ts-mode.el:498:17: Warning: the function
‘treesit-node-end’ is not known to be defined.
progmodes/typescript-ts-mode.el:497:17: Warning: the function
‘treesit-node-start’ is not known to be defined.
progmodes/typescript-ts-mode.el:474:6: Warning: the function
‘treesit-query-compile’ is not known to be defined.
Could you please fix these?
I fixed this myself by simply declaring the functions the
byte-compiler was complaining about, but I'd be happier if someone
could explain these warnings, since the offending functions are not
called anywhere in the code I could see. What did I miss?