diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/fold.lua | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/locals.lua | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/query_predicates.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/fold.lua b/lua/nvim-treesitter/fold.lua index 38e03dbe8..01a7c08e9 100644 --- a/lua/nvim-treesitter/fold.lua +++ b/lua/nvim-treesitter/fold.lua @@ -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 = ">" diff --git a/lua/nvim-treesitter/locals.lua b/lua/nvim-treesitter/locals.lua index 6f167d36b..e0da2d02e 100644 --- a/lua/nvim-treesitter/locals.lua +++ b/lua/nvim-treesitter/locals.lua @@ -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 diff --git a/lua/nvim-treesitter/query_predicates.lua b/lua/nvim-treesitter/query_predicates.lua index 20cb42743..be713304c 100644 --- a/lua/nvim-treesitter/query_predicates.lua +++ b/lua/nvim-treesitter/query_predicates.lua @@ -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) |
