yasnippet-snippets
yasnippet-snippets copied to clipboard
[Feature Request] Support tree-sitter
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.
https://github.com/AndreaCrotti/yasnippet-snippets/pull/455 and https://github.com/AndreaCrotti/yasnippet-snippets/pull/460 are two steps in the right direction.
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?