Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 580 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 580 Bytes

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