aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-02-21 17:03:04 +0100
committerChristian Clason <c.clason@uni-graz.at>2023-02-23 10:24:15 +0100
commit05de0f4fea237132ff3a9a5a35e9c711c4ece579 (patch)
treec6a2686c6645036c098328614568c8b05a3ca65a /runtime/lua/vim/treesitter
parent524e1a06432ed7a88c1e183d81812dd48dc18cfb (diff)
downloadrneovim-05de0f4fea237132ff3a9a5a35e9c711c4ece579.tar.gz
rneovim-05de0f4fea237132ff3a9a5a35e9c711c4ece579.tar.bz2
rneovim-05de0f4fea237132ff3a9a5a35e9c711c4ece579.zip
docs(treesitter): fix parse errors
Diffstat (limited to 'runtime/lua/vim/treesitter')
-rw-r--r--runtime/lua/vim/treesitter/languagetree.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter/languagetree.lua b/runtime/lua/vim/treesitter/languagetree.lua
index 81ad83db2c..c9fd4bb2ea 100644
--- a/runtime/lua/vim/treesitter/languagetree.lua
+++ b/runtime/lua/vim/treesitter/languagetree.lua
@@ -653,7 +653,7 @@ end
---@param range Range `{ start_line, start_col, end_line, end_col }`
---@param opts table|nil Optional keyword arguments:
--- - ignore_injections boolean Ignore injected languages (default true)
----@return TSNode|nil Found node
+---@return TSNode | nil Found node
function LanguageTree:named_node_for_range(range, opts)
local tree = self:tree_for_range(range, opts)
if tree then