From caa6992a1071a2ac373bec21085685da4a1790d6 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 27 Nov 2021 17:10:48 +0100 Subject: chore: fix typos (#16361) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Brede Yabo Sherling Kristensen Co-authored-by: zeertzjq Co-authored-by: István Donkó Co-authored-by: Julian Berman Co-authored-by: bryant Co-authored-by: Michael Lingelbach Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam Co-authored-by: Jesse Wertheim Co-authored-by: dm1try Co-authored-by: Jakub Łuczyński Co-authored-by: Louis Lebrault Co-authored-by: Brede Yabo Sherling Kristensen Co-authored-by: zeertzjq Co-authored-by: István Donkó Co-authored-by: Julian Berman Co-authored-by: bryant Co-authored-by: Michael Lingelbach Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam Co-authored-by: Jesse Wertheim Co-authored-by: dm1try Co-authored-by: Jakub Łuczyński Co-authored-by: Louis Lebrault --- runtime/lua/vim/treesitter/query.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/lua/vim/treesitter/query.lua') diff --git a/runtime/lua/vim/treesitter/query.lua b/runtime/lua/vim/treesitter/query.lua index 66da179ea3..b8255e61ed 100644 --- a/runtime/lua/vim/treesitter/query.lua +++ b/runtime/lua/vim/treesitter/query.lua @@ -48,7 +48,7 @@ function M.get_query_files(lang, query_name, is_included) local base_langs = {} -- Now get the base languages by looking at the first line of every file - -- The syntax is the folowing : + -- The syntax is the following : -- ;+ inherits: ({language},)*{language} -- -- {language} ::= {lang} | ({lang}) @@ -446,7 +446,7 @@ end --- --- {source} is needed if the query contains predicates, then the caller --- must ensure to use a freshly parsed tree consistent with the current ---- text of the buffer (if relevent). {start_row} and {end_row} can be used to limit +--- text of the buffer (if relevant). {start_row} and {end_row} can be used to limit --- matches inside a row range (this is typically used with root node --- as the node, i e to get syntax highlight matches in the current --- viewport). When omitted the start and end row values are used from the given node. @@ -466,7 +466,7 @@ end --- --- ---@param node The node under which the search will occur ----@param source The source buffer or string to exctract text from +---@param source The source buffer or string to extract text from ---@param start The starting line of the search ---@param stop The stopping line of the search (end-exclusive) --- -- cgit