https://github.com/ray-x/cmp-treesitter
cmp source for treesitter
https://github.com/ray-x/cmp-treesitter
neovim nvim-cmp
Last synced: about 1 year ago
JSON representation
cmp source for treesitter
- Host: GitHub
- URL: https://github.com/ray-x/cmp-treesitter
- Owner: ray-x
- License: gpl-3.0
- Created: 2021-09-06T12:03:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T10:34:39.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T11:03:29.482Z (about 1 year ago)
- Topics: neovim, nvim-cmp
- Language: Lua
- Homepage:
- Size: 39.1 KB
- Stars: 248
- Watchers: 3
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cmp-treesitter
nvim-cmp source for treesitter nodes. Using all treesitter highlight nodes as completion candicates.
LRU cache is used to improve performance.
# Setup
```lua
require'cmp'.setup {
sources = {
{ name = 'treesitter' }
}
}
```
# Screenshot