ray-x/telescope-ast-grep.nvim

AST grep extension for telescope.nvim

43

stars

7

commits

Lua

primary language

Nov 5, 2023

updated

ast
ast-grep
grep
neovim-plugin
telescope-extension
treesitter

README

telescope-ast-grep.nvim

telescope-ast-grep.nvim provides grep functionality enhancements for telescope.nvim, featuring two main components:

Currently, the extension supports a limited set of languages.

  • For ast_grep, check supported languages here
  • dumb_jump, Please refer to the source code for current language support. As of now, I've integrated support for python, go, lua, c/cpp, and js/ts

Requirements

  • install ast-grep
  • jq
  • ripgrep
  • shell (The plugin can run under windows with bash/mingw)

Installation

{
  'ray-x/telescope-ast-grep.nvim',
  dependencies = {
    {'nvim-lua/plenary.nvim'},
    {'nvim-telescope/telescope.nvim'},
  },
}

Execute

:Telescope AST_grep
:Telescope dumb_jump

Screenshot

image image

Similar plugins

Contributors

ray-x

7 commits

ray-x/telescope-ast-grep.nvim

AST grep extension for telescope.nvim

43

stars

7

commits

Lua

primary language

Nov 5, 2023

updated

ast
ast-grep
grep
neovim-plugin
telescope-extension
treesitter

README

telescope-ast-grep.nvim

telescope-ast-grep.nvim provides grep functionality enhancements for telescope.nvim, featuring two main components:

Currently, the extension supports a limited set of languages.

  • For ast_grep, check supported languages here
  • dumb_jump, Please refer to the source code for current language support. As of now, I've integrated support for python, go, lua, c/cpp, and js/ts

Requirements

  • install ast-grep
  • jq
  • ripgrep
  • shell (The plugin can run under windows with bash/mingw)

Installation

{
  'ray-x/telescope-ast-grep.nvim',
  dependencies = {
    {'nvim-lua/plenary.nvim'},
    {'nvim-telescope/telescope.nvim'},
  },
}

Execute

:Telescope AST_grep
:Telescope dumb_jump

Screenshot

image image

Similar plugins

Contributors

ray-x

7 commits

Languages

Lua

100.0%