mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user