mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
lint: just bit twiddlin'
This commit is contained in:
parent
b397f31ede
commit
9c929e7d23
@ -135,8 +135,8 @@ function M.list_predicates()
|
||||
return vim.tbl_keys(predicate_handlers)
|
||||
end
|
||||
|
||||
local function xor(a, b)
|
||||
return (a or b) and not (a and b)
|
||||
local function xor(x, y)
|
||||
return (x or y) and not (x and y)
|
||||
end
|
||||
|
||||
function Query:match_preds(match, pattern, bufnr)
|
||||
|
Loading…
Reference in New Issue
Block a user