diff options
author | Steven Sojka <steelsojka@gmail.com> | 2020-12-04 16:15:47 -0600 |
---|---|---|
committer | Steven Sojka <steelsojka@gmail.com> | 2020-12-04 16:15:47 -0600 |
commit | 2985c17867bec5dfdc77f1bae123b50cac533f1b (patch) | |
tree | b35d548e880b26f3a3862c98999871b77378fe17 /runtime/lua/vim | |
parent | 0c8d6ab536ec2e8e95c0de441e6ad1fdfccc909f (diff) | |
download | rneovim-2985c17867bec5dfdc77f1bae123b50cac533f1b.tar.gz rneovim-2985c17867bec5dfdc77f1bae123b50cac533f1b.tar.bz2 rneovim-2985c17867bec5dfdc77f1bae123b50cac533f1b.zip |
fix(treesitter): incorrect method name call
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/treesitter/languagetree.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter/languagetree.lua b/runtime/lua/vim/treesitter/languagetree.lua index a8b62e21b9..885460c9fd 100644 --- a/runtime/lua/vim/treesitter/languagetree.lua +++ b/runtime/lua/vim/treesitter/languagetree.lua @@ -445,7 +445,7 @@ end function LanguageTree:language_for_range(range) for _, child in pairs(self._children) do if child:contains(range) then - return child:node_for_range(range) + return child:language_for_range(range) end end |