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

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

[nongnu] elpa/clojure-ts-mode a8a321500e 13/14: More documentation updat


From: ELPA Syncer
Subject: [nongnu] elpa/clojure-ts-mode a8a321500e 13/14: More documentation updates
Date: Fri, 8 Sep 2023 18:59:18 -0400 (EDT)

branch: elpa/clojure-ts-mode
commit a8a321500e538422aa244db13a3ba22cd8bf047f
Author: Danny Freeman <danny@dfreeman.email>
Commit: Danny Freeman <danny@dfreeman.email>

    More documentation updates
    
    Trying to be clear that the grammar should just install on it's own, but
    keeping instructions for how to do it manually if necessary.
---
 README.md | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/README.md b/README.md
index 069b3fe159..dde2547a13 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ highlighting), indentation, and navigation support for the
 
 ## Configuration
 
-To see a list of available configuration options do M-x customize-group RET 
clojure-ts.
+To see a list of available configuration options do `M-x customize-group <RET> 
clojure-ts`.
 
 Most configuration changes will require reverting any active clojure-ts-mode 
buffers.
 
@@ -108,6 +108,12 @@ Once installed, evaluate clojure-ts-mode.el and you should 
be ready to go.
 
 ### Install libtree-sitter-clojure shared library
 
+The tree-sitter clojure shared library must be available to Emacs.
+If you have `git` and a C compiler (`cc`) available on your system's `PATH`, 
**then these steps should not be necessary**.
+clojure-ts-mode will install the grammar when you first open a Clojure file.
+
+If clojure-ts-mode fails to automatically install the grammar, you have the 
option to install it manually.
+
 #### From your OS
 
 Some distributions may package the tree-sitter-clojure grammar in their 
package repositories.
@@ -116,18 +122,9 @@ If yours does you may be able to install 
tree-sitter-clojure with your system pa
 If the version packaged by your OS is out of date, you may see errors in the 
`*Messages*` buffer or your clojure buffers will not have any syntax 
highlighting.
 If this happens you should install the grammar manually with `M-x 
treesit-install-language-grammar <RET> clojure`.
 
-#### Manually
-
-The tree-sitter clojure shared library must be available to Emacs.
-If you have `git` and a C compiler (`cc`) available on your system's `PATH`, 
**then these steps should not be necessary**.
-clojure-ts-mode will install the grammar when you first open a Clojure file.
-
-If clojure-ts-mode fails to automatically install the grammar, you have the 
option to install it manually.
-
-The first way is to run `M-x treesit-install-language-grammar <RET> clojure` 
in Emacs.
-This is what clojure-ts-mode attempts to do when a suitable grammar is not 
found.
+#### Compile From Source
 
-If that fails, you can attempt to download and compile manually.
+If all else fails, you can attempt to download and compile manually.
 All you need is `git` and a C compiler (GCC works well).
 
 To start, clone 
[tree-sitter-clojure](https://github.com/sogaiu/tree-sitter-clojure).



reply via email to

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