Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support tree-sitter #459

Open
seagle0128 opened this issue Jan 18, 2023 · 2 comments
Open

[Feature Request] Support tree-sitter #459

seagle0128 opened this issue Jan 18, 2023 · 2 comments

Comments

@seagle0128
Copy link

seagle0128 commented Jan 18, 2023

Hi , Thanks for this great package! I am enjoying it.

In Emacs 29, the native tree-sitter is introduced. Also some new major-modes are introduced, e.g. python-ts-mode, c-ts-mode, go-ts-mode, etc. Now yasnippet doesn't support these major modes. Can you please support?

BTW, ,my workaround is making symlinks for new major modes. e.g. python-ts-mode -> python-mode, or making a new directory and set .yas-parents.

@petergardfjall
Copy link
Contributor

#455 and #460 are two steps in the right direction.

@Ergus
Copy link

Ergus commented Feb 19, 2023

Actually this is an interesting question. Isn't it simpler just to add entries in the .yas-parents. Only that is intended to work.... because if we need to have a directory with same name for every mode,, what's the utility of the .yas-parents then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants