cmp-treesitter icon indicating copy to clipboard operation
cmp-treesitter copied to clipboard

cmp source for treesitter

cmp-treesitter

nvim-cmp source for treesitter nodes. Using all treesitter highlight nodes as completion candicates. LRU cache is used to improve performance.

Setup

require'cmp'.setup {
  sources = {
    { name = 'treesitter' }
  }
}

Screenshot

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