emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 08cea61390 2/3: Update docs and fix treesiter mo


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 08cea61390 2/3: Update docs and fix treesiter mode
Date: Sat, 24 Feb 2024 07:00:49 -0500 (EST)

branch: elpa/rust-mode
commit 08cea61390971d26b982677bc0658a9ff79b34e0
Author: Sibi Prabakaran <sibi@psibi.in>
Commit: Sibi Prabakaran <sibi@psibi.in>

    Update docs and fix treesiter mode
---
 README.md               | 2 +-
 rust-mode-treesitter.el | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 217b990bf9..2b77636efb 100644
--- a/README.md
+++ b/README.md
@@ -201,7 +201,7 @@ You can try the new native treesitter mode `rust-ts-mode` 
with:
   (setq rust-mode-treesitter-derive t))
 ```
 
-In case you want to use treesitter but can't use emacs master, you can
+In case you want to use treesitter but can't use Emacs 29.1, you can
 take a look at
 [tree-sitter](https://github.com/emacs-tree-sitter/elisp-tree-sitter). When
 the dependencies are installed you can activate the feature with:
diff --git a/rust-mode-treesitter.el b/rust-mode-treesitter.el
index 1183e98abe..3c3bd57284 100644
--- a/rust-mode-treesitter.el
+++ b/rust-mode-treesitter.el
@@ -6,6 +6,9 @@
 ;;; Code:
 
 ;;;###autoload
+(require 'treesit)
+(require 'rust-ts-mode)
+
 (define-derived-mode rust-mode rust-ts-mode "Rust"
   "Major mode for Rust code.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]