From a36c68d2cd551e49883ddb2492c178d915567f58 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sat, 18 Nov 2023 00:40:15 -0800 Subject: fix: range format method for async formatters and injected --- lua/conform/formatters/injected.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/conform/formatters') diff --git a/lua/conform/formatters/injected.lua b/lua/conform/formatters/injected.lua index edc2c66..b3d80a9 100644 --- a/lua/conform/formatters/injected.lua +++ b/lua/conform/formatters/injected.lua @@ -239,4 +239,7 @@ return { apply_format_results() end end, + -- TODO this is kind of a hack. It's here to ensure all_support_range_formatting is set properly. + -- Should figure out a better way to do this. + range_args = true, } -- cgit v1.2.3-70-g09d2