mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
preds: declare set! predicate
This commit is contained in:
parent
bdf43b15df
commit
355d86fe6b
1 changed files with 3 additions and 0 deletions
|
|
@ -63,3 +63,6 @@ query.add_predicate('is?', function(match, pattern, bufnr, pred)
|
||||||
|
|
||||||
return vim.tbl_contains(types, kind)
|
return vim.tbl_contains(types, kind)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- Just avoid some anoying warnings for this predicate
|
||||||
|
query.add_predicate('set!', function() return true end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue