Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

treesitter_cmp
Screen Shot 2021-10-24 at 1 00 29 pm