Skip to content

Commit

Permalink
Update editors.md: add note about grug-far.nvim integration
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicDuck authored and HerringtonDarkholme committed Aug 5, 2024
1 parent 4d7abf5 commit 4e2fbda
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion website/guide/tools/editors.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,17 @@ Telescope ast_grep

[telescope-ast-grep.nvim](https://github.com/ray-x/telescope-ast-grep.nvim) is an alternative plugin that provides ast-grep functionality enhancements.

### grug-far.nvim

[grug-far.nvim](https://github.com/MagicDuck/grug-far.nvim) has ast-grep search engine support. It allows for both live searching as you type and replacing.

Usage:

```vim
:lua require('grug-far').grug_far({ engine = 'astgrep' })
```
or swap to `astgrep` engine while running with the `Swap Engine` action.

## LSP Server

Currently ast-grep support these LSP capabilities:
Expand Down Expand Up @@ -156,4 +167,4 @@ sg lsp -c <configPath>
## More Editors...

More ast-grep editor integration will be supported by the community!
Your contribution is warmly welcome.
Your contribution is warmly welcome.

0 comments on commit 4e2fbda

Please sign in to comment.