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.lua | |
| parent | Python textobjects: Include @decorators and improve @conditional.inner (diff) | |
| download | nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.tar nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.tar.gz nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.tar.bz2 nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.tar.lz nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.tar.xz nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.tar.zst nvim-treesitter-1849f30bb5d7f78ad0c3b129456917f170e4acf4.zip | |
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.lua')
0 files changed, 0 insertions, 0 deletions
