mirror of
https://github.com/helix-editor/helix
synced 2026-07-26 10:50:57 +02:00
cd6a852c9e
This will be used by the cargo indent-check xtask to validate queries, similar to the existing indent tests in helix-core.
8 lines
88 B
Lua
8 lines
88 B
Lua
local function add(a, b)
|
|
if a > 0 then
|
|
return a + b
|
|
else
|
|
return b
|
|
end
|
|
end
|