Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ray-x/cmp-treesitter
cmp source for treesitter
https://github.com/ray-x/cmp-treesitter
neovim nvim-cmp
Last synced: 5 days 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 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T10:34:39.000Z (8 months ago)
- Last Synced: 2024-12-17T02:06:53.809Z (12 days ago)
- Topics: neovim, nvim-cmp
- Language: Lua
- Homepage:
- Size: 39.1 KB
- Stars: 240
- Watchers: 3
- Forks: 10
- 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