Skip to content

Commit

Permalink
tweak(treesit-auto): treesit-auto-langs set incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 31, 2023
1 parent c4a703c commit 3c5d6e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@
:remap 'nix-mode
:url "https://github.com/nix-community/tree-sitter-nix"
:ext "\\.nix\\'")
treesit-auto-recipe-list)
;; 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 langs (seq-filter #'treesit-language-available-p langs)))))
treesit-auto-recipe-list))

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

0 comments on commit 3c5d6e9

Please sign in to comment.