Actually only do tree-sitter if it's on x64

This commit is contained in:
MitchMarq42 2022-09-07 06:13:40 -08:00
parent b949019c8c
commit 8bba3fcfa8

View File

@ -806,12 +806,13 @@ targets."
(use-package inf-clojure)
;; Let's pretend we're nevoim for a moment
(use-package tree-sitter
:if (string-match-p "86_64" system-configuration)
:config
(global-tree-sitter-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
(use-package tree-sitter-langs)
(if (string-match-p "86_64" system-configuration)
(progn
(use-package tree-sitter
:config
(global-tree-sitter-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
(use-package tree-sitter-langs)))
;; unique buffer names
(use-package uniquify