https://github.com/ggandor/leap-ast.nvim
Jump to, select and operate on AST nodes via the Leap interface with Treesitter (WIP)
https://github.com/ggandor/leap-ast.nvim
Last synced: 29 days ago
JSON representation
Jump to, select and operate on AST nodes via the Leap interface with Treesitter (WIP)
- Host: GitHub
- URL: https://github.com/ggandor/leap-ast.nvim
- Owner: ggandor
- License: unlicense
- Created: 2022-07-13T14:41:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T11:59:09.000Z (about 1 year ago)
- Last Synced: 2025-02-27T16:55:23.637Z (about 2 months ago)
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 61
- Watchers: 3
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- stars - ggandor/leap-ast.nvim - Jump to, select and operate on AST nodes via the Leap interface with Treesitter (WIP) (Lua)
README
# leap-ast.nvim
Jump to, select and operate on AST nodes via the
[Leap](https://github.com/ggandor/leap.nvim) interface with Tree-sitter.## Requirements
* Neovim >= 0.7.0
* [leap.nvim](https://github.com/ggandor/leap.nvim)
* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) (This
dependency is only temporary; it will not be necessary in the future.)## Installation
Use your preferred plugin manager - no extra steps needed.
## Usage
Just define one mapping, and you're good to go:
```lua
vim.keymap.set({'n', 'x', 'o'}, '', function() require'leap-ast'.leap() end, {})
```