summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.md1
-rw-r--r--rust-mode-treesitter.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md
index a506866..cab2398 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -2,3 +2,4 @@
- Add support for treesitter mode.
- Fix warnings resulting from rust-utils.el. [Fixes #509](https://github.com/rust-lang/rust-mode/issues/509).
+- Fix tree sitter mode with hooks integraiton. [Fixes #516](https://github.com/rust-lang/rust-mode/issues/516).
diff --git a/rust-mode-treesitter.el b/rust-mode-treesitter.el
index 3c3bd57..0fb2e9f 100644
--- a/rust-mode-treesitter.el
+++ b/rust-mode-treesitter.el
@@ -8,6 +8,7 @@
;;;###autoload
(require 'treesit)
(require 'rust-ts-mode)
+(require 'rust-common)
(define-derived-mode rust-mode rust-ts-mode "Rust"
"Major mode for Rust code.