emacs-tree-sitter / ts-fold

Code-folding using tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recommended installation method doesn't work

Kaligule opened this issue · comments

I tried to install ts-fold using the recommended method 1 from the readme:

(use-package ts-fold
  :straight (host github repo "jcs090218/ts-fold"))

This didn't work for me, I got the following error:

Wrong type argument: plistp, (github repo "jcs090218/ts-fold")

After consulting the straight documentation I came up with the following, which worked:

(use-package ts-fold
  :straight (ts-fold :type git :host github :repo "jcs090218/ts-fold"))  

Could someone please doublecheck that the second version works and the first one doesn't?
If this is correct, I am happy create a pull request.

Ah, yes. You got it right!

I think those are represented symbols. Feel free to make a PR! :)