From eb2c4169ae42430a20fdb01a4b448de4a049a18a Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Mon, 26 Feb 2024 09:39:47 +0530 Subject: Fix tree sitter mode with hooks integration --- Changelog.md | 1 + rust-mode-treesitter.el | 1 + 2 files changed, 2 insertions(+) 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. -- cgit v1.2.3