chore: fix typos

This commit is contained in:
Dundar Göc 2021-11-01 22:35:31 +01:00 committed by Stephan Seitz
parent 968621dfad
commit 6a4fdb317d
15 changed files with 20 additions and 20 deletions

View file

@ -79,7 +79,7 @@ local folds_levels = tsutils.memoize_by_buf_tick(function(bufnr)
-- ( \n ( \n )) \n (( \n ) \n )
-- versus
-- ( \n ( \n ) \n ( \n ) \n )
-- If it did have such a mechansim, (trimmed_level - last_trimmed_level)
-- If it did have such a mechanism, (trimmed_level - last_trimmed_level)
-- would be the correct number of starts to pass on.
if trimmed_level - last_trimmed_level > 0 then
prefix = ">"

View file

@ -177,7 +177,7 @@ end)
--
-- "parent": Uses the parent of the containing scope, basically, skipping a scope
-- "global": Uses the top most scope
-- "local": Uses the containg scope of the definition. This is the default
-- "local": Uses the containing scope of the definition. This is the default
--
-- @param node: the definition node
-- @param bufnr: the buffer

View file

@ -99,7 +99,7 @@ query.add_predicate("has-type?", function(match, pattern, bufnr, pred)
return vim.tbl_contains(types, node:type())
end)
-- Just avoid some anoying warnings for this directive
-- Just avoid some annoying warnings for this directive
query.add_directive("make-range!", function() end)
query.add_directive("downcase!", function(match, _, bufnr, pred, metadata)