lint: just bit twiddlin'

This commit is contained in:
Björn Linse 2020-09-06 11:25:23 +02:00
parent b397f31ede
commit 9c929e7d23

View File

@ -135,8 +135,8 @@ function M.list_predicates()
return vim.tbl_keys(predicate_handlers) return vim.tbl_keys(predicate_handlers)
end end
local function xor(a, b) local function xor(x, y)
return (a or b) and not (a and b) return (x or y) and not (x and y)
end end
function Query:match_preds(match, pattern, bufnr) function Query:match_preds(match, pattern, bufnr)