diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-06-16 08:17:25 +0200 |
---|---|---|
committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-06-29 22:21:06 +0200 |
commit | b652f74ca3a6722ad0d185a0f4093907a6af65d7 (patch) | |
tree | 96f33724c9a4d5a282c3064398a8e9e9f346b633 /runtime/lua/vim/treesitter.lua | |
parent | 558893b1b979d2ec9006ee496c19648edbbf5b1c (diff) | |
download | rneovim-b652f74ca3a6722ad0d185a0f4093907a6af65d7.tar.gz rneovim-b652f74ca3a6722ad0d185a0f4093907a6af65d7.tar.bz2 rneovim-b652f74ca3a6722ad0d185a0f4093907a6af65d7.zip |
treesitter: use nodes to mark ranges
Diffstat (limited to 'runtime/lua/vim/treesitter.lua')
-rw-r--r-- | runtime/lua/vim/treesitter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter.lua b/runtime/lua/vim/treesitter.lua index d5bc8e0a1b..f356673839 100644 --- a/runtime/lua/vim/treesitter.lua +++ b/runtime/lua/vim/treesitter.lua @@ -31,7 +31,7 @@ function Parser:_on_lines(bufnr, _, start_row, old_stop_row, stop_row, old_byte_ end function Parser:set_included_ranges(ranges) - self._parser:set_included_ranges(self.bufnr, ranges) + self._parser:set_included_ranges(ranges) -- The buffer will need to be parsed again later self.valid = false end |