summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/autopep8.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/autopep8.lua')
-rw-r--r--lua/conform/formatters/autopep8.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/conform/formatters/autopep8.lua b/lua/conform/formatters/autopep8.lua
index 3945e47..3d5b015 100644
--- a/lua/conform/formatters/autopep8.lua
+++ b/lua/conform/formatters/autopep8.lua
@@ -6,7 +6,7 @@ return {
},
command = "autopep8",
args = { "-" },
- range_args = function(ctx)
+ range_args = function(self, ctx)
return { "-", "--line-range", tostring(ctx.range.start[1]), tostring(ctx.range["end"][1]) }
end,
}