aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/yapf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/yapf.lua')
-rw-r--r--lua/conform/formatters/yapf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/conform/formatters/yapf.lua b/lua/conform/formatters/yapf.lua
index fc3cfeb..63bff83 100644
--- a/lua/conform/formatters/yapf.lua
+++ b/lua/conform/formatters/yapf.lua
@@ -6,7 +6,7 @@ return {
},
command = "yapf",
args = { "--quiet" },
- range_args = function(ctx)
+ range_args = function(self, ctx)
return { "--quiet", "--lines", string.format("%d-%d", ctx.range.start[1], ctx.range["end"][1]) }
end,
}