zkry / yaml-pro

Edit YAML in Emacs like a pro
GNU General Public License v3.0
137 stars 9 forks source link

Seems to require treesit, but does not declare this dependency #57

Closed algal closed 4 months ago

algal commented 4 months ago

The file yaml-pro.el requires the feature yaml-pro-format (line 44)

The file yaml-pro-format.el requires the feature treesit (line 38).

As a result, when I try to enable yaml-pro-mode on emacs 28.2, which does not have treesit built-in, this mode generates an error.

But this is not what is expected from the package's package description, which says only that it requires emacs-26.1 and yaml-0.5.1.

zkry commented 4 months ago

Thanks for pointing this out! You're right, I should specify this as a dependency.