summaryrefslogtreecommitdiff
path: root/rust-mode-treesitter.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-mode-treesitter.el')
-rw-r--r--rust-mode-treesitter.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust-mode-treesitter.el b/rust-mode-treesitter.el
index cb7b0f3..dbad06a 100644
--- a/rust-mode-treesitter.el
+++ b/rust-mode-treesitter.el
@@ -7,6 +7,8 @@
;;;###autoload
(when (version<= "29.1" emacs-version)
+ ;; We have the when macro because of
+ ;; https://github.com/rust-lang/rust-mode/issues/520
(require 'treesit)
(require 'rust-ts-mode)
(require 'rust-common)