Skip to content

Commit 2c7957d

Browse files
authored
docs(editors): add emacs and ast-grep.el (#762)
1 parent 4321992 commit 2c7957d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

website/guide/tools/editors.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,23 @@ Usage:
138138
```
139139
or swap to `astgrep` engine while running with the `Swap Engine` action.
140140

141+
## Emacs
142+
143+
### ast-grep.el
144+
[ast-grep.el](https://github.com/SunskyXH/ast-grep.el) is an emacs package for searching code using ast-grep with completing-read interface or consult.
145+
146+
You can install via `straight.el`
147+
148+
```elisp
149+
(straight-use-package '(ast-grep :type git :host github :repo "SunskyXH/ast-grep.el"))
150+
```
151+
152+
Or if you are using doomemacs, add to your `packages.el`
153+
154+
```elisp
155+
(package! ast-grep :recipe (:host github :repo "SunskyXH/ast-grep.el"))
156+
```
157+
141158
## LSP Server
142159

143160
Currently ast-grep support these LSP capabilities:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy