helix icon indicating copy to clipboard operation
helix copied to clipboard

Add support for D language

Open ErdoganSeref opened this issue 2 years ago • 3 comments

The change resolves #3832. I need help to complete the tree-sitter configuration.

ErdoganSeref avatar Oct 02 '22 16:10 ErdoganSeref

That repository git-ignores the generated parser.c and parser.h files which we need to compile the parser. See https://github.com/CyberShadow/tree-sitter-d/issues/6

You can get around it by creating a fork of the repository, removing these lines, running tree-sitter generate, and committing the generated files.

the-mikedavis avatar Oct 02 '22 16:10 the-mikedavis

It looks like the author of #3832 is working on rewriting or improving tree-sitter-d, so we might be able to take advantage of that new grammar when they are finished

the-mikedavis avatar Oct 02 '22 19:10 the-mikedavis

https://github.com/helix-editor/helix/issues/3832#issuecomment-1277139601

the-mikedavis avatar Oct 13 '22 14:10 the-mikedavis