diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-07-15 09:29:12 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-16 07:58:39 +0200 |
| commit | 1849f30bb5d7f78ad0c3b129456917f170e4acf4 (patch) | |
| tree | 1f9bcdacaeb952eb78c257b3e196719203b11ae2 /lua/nvim-treesitter/incremental_selection.lua | |
| parent | a382e28c951f3dac09de9e963ab71966b54209cf (diff) | |
fix(ts_utils): be sure to parse to get root
Be sure to call `parser:parser()` to get a tree instead of getting the
tree directly. This will not cost anything is the buffer is freshly
parsed.
Fixes #181
Diffstat (limited to 'lua/nvim-treesitter/incremental_selection.lua')
0 files changed, 0 insertions, 0 deletions
