Andrew Hlynskyi

Results 145 comments of Andrew Hlynskyi

What's interesting is that before the [188b6b06](https://github.com/tree-sitter/tree-sitter-python/commit/188b6b062d8cb256e7dfe76b5ad5089bbdcb7014#diff-919ac210accac9ecc55a76d10a7590e3d85ca3f0e165b52d30f08faee486d0cbR67) commit it seems there was no such problem with comments, so maybe it worth to looking for an alternative solution and try to...

@winston0410 you can find it here: https://github.com/tree-sitter/tree-sitter/blob/c7998d93d0d180e0c11924e3f1543e1b0e4487be/cli/src/generate/dsl.js#L215

**TODO:** - [ ] Add a tips flag to `tree-sitter generator` that would show suggestions and in this case it will suggest to set the `scope` field as `source.LANG_NAME` by...

> Make Highlight behave just like test. The highlight should behave like all other sub commands that relying on parser, there is only one exception, the test sub command because...

**TODO:** - [ ] `tree-sitter highlight` - in case of a language wasn't found show an error with a list of configured paths and show a message that there is...

@ethindp try to use a CLI version from my fork, it has some patches that were not upstreamed yet. `cargo install --git https://github.com/ahlinc/tree-sitter --branch alpha` And could you show what...

> @ahlinc It shows no output. Try to clone some other official grammars in some of folders mentioned in TS config generated by `tree-sitter init-config` and dump langs again.

@ethindp could you show your package.json? There in a tree-sitter section should be a scope and a file extensions fields. Also in Tree-sitter's config should be mentioned a base folder...

CL allows to use dashes on most of options.