mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
lint: just bit twiddlin'
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user