diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 73bd9f1..d350570 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1544,7 +1544,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (setq treesit-language-source-alist (mapcar (lambda (item) - `(,@item nil nil ,(executable-find "gcc") ,(executable-find "c++"))) + (let ((lang (nth 0 item)) + (url (nth 1 item)) + (rev (nth 2 item)) + (source-dir (nth 3 item))) + `(,lang ,url ,rev ,source-dir + ,(executable-find "gcc") ,(executable-find "c++")))) '((bash "https://github.com/tree-sitter/tree-sitter-bash") (cmake "https://github.com/uyha/tree-sitter-cmake") (css "https://github.com/tree-sitter/tree-sitter-css") @@ -5413,7 +5418,9 @@ KEYS is a list of cons cells like (