Skip to content

Commit

Permalink
[try] treesit no define, ensure bounding
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Nov 15, 2024
1 parent 673ebb4 commit 1e56b14
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/init-treesit.el
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@

(message "Enabling external tree-sitter and tree-sitter-langs")
(use-package tree-sitter-langs
:defines (tree-sitter-langs--testing)
:init
(eval-and-compile
(setq tree-sitter-langs--testing (or (when (boundp 'tree-sitter-langs--testing)
tree-sitter-langs--testing)
(getenv "ci_tests")))))
(unless (boundp 'tree-sitter-langs--testing)
(setq tree-sitter-langs--testing (getenv "ci_tests")))))
(use-package tree-sitter
:diminish
:after (tree-sitter-langs)
Expand Down

0 comments on commit 1e56b14

Please sign in to comment.