From 4e2fbda556374ba0bdbe7d763c12679ebb89e154 Mon Sep 17 00:00:00 2001 From: Stephan Badragan Date: Mon, 5 Aug 2024 16:15:45 -0700 Subject: [PATCH] Update editors.md: add note about grug-far.nvim integration --- website/guide/tools/editors.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/website/guide/tools/editors.md b/website/guide/tools/editors.md index ad2e4934..e8a7964d 100644 --- a/website/guide/tools/editors.md +++ b/website/guide/tools/editors.md @@ -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: @@ -156,4 +167,4 @@ sg lsp -c ## More Editors... More ast-grep editor integration will be supported by the community! -Your contribution is warmly welcome. \ No newline at end of file +Your contribution is warmly welcome.