Skip to content

Commit

Permalink
fix(treesit-auto): buggy detection for non-installed grammars [#140]
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 18, 2023
1 parent c8c4d10 commit c770acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
;; Setup `treesit-auto-langs' to include only the languages with non-installed
;; grammars from all supported languages.
(let ((langs (mapcar #'treesit-auto-recipe-lang treesit-auto-recipe-list)))
(setq treesit-auto-langs (seq-difference (seq-filter #'treesit-language-available-p langs) langs))))
(setq treesit-auto-langs (seq-difference langs (seq-filter #'treesit-language-available-p langs)))))

(use-package awk-ts-mode
:straight t
Expand Down

0 comments on commit c770acb

Please sign in to comment.