branch: externals/matlab-mode
commit f3e0384e193c4d8ba7d31d1c7695d02b78c6afbe
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
README.org: simplify tree-sitter install instructions
---
README.org | 6 +++++-
doc/install-matlab-tree-sitter-grammar.org | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index ec482916c5..5adc8a5f9b 100644
--- a/README.org
+++ b/README.org
@@ -96,7 +96,7 @@
: M-x package-install RET matlab-mode RET
- Note: to all available packages, =M-x RET list-packages RET=
+ Note: to see all available packages, =M-x RET list-packages RET=
2. [Optional] Install the =company= package which is used for TAB completions.
@@ -105,6 +105,10 @@
3. [Optional] Install MATLAB tree-sitter for matlab-ts-mode, which provides
improved editing
capabilities and improved performance.
+ After installing =matlab-mode=
+
+ : M-x matlab-ts-grammar-install
+
The MATLAB tree-sitter leverages
[[https://tree-sitter.github.io/tree-sitter/][Tree-sitter]] to create a parse
tree for MATLAB code. The parse
tree is updated incrementally and is robust to syntax errors. It is highly
performant and
achieves this by being implemented in C to create a shared object that is
loaded into the Emacs
diff --git a/doc/install-matlab-tree-sitter-grammar.org
b/doc/install-matlab-tree-sitter-grammar.org
index 0769b44163..ee3cbbac19 100644
--- a/doc/install-matlab-tree-sitter-grammar.org
+++ b/doc/install-matlab-tree-sitter-grammar.org
@@ -51,7 +51,7 @@ tree-sitter ABI is 15. There are different methods for
installing this.
** Method 1 - Install the Emacs-MATLAB-Mode pre-built matlab tree-sitter
grammar
-After installing the Emacs-MATLAB-Mode package,
+After installing the =matlab-mode= package,
: M-x matlab-ts-grammar-install