hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
8.16k stars 407 forks source link

fix: Add newer fallback method for tree-sitter scopes #2006

Closed pynappo closed 4 months ago

pynappo commented 4 months ago

A few hours ago, the nvim-treesitter main branch removed locals.get_scopes for the newer locals.get so this PR adds a fallback to the newer method to help those trying out that branch.

hrsh7th commented 4 months ago

thank you