aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-11-18 00:40:15 -0800
committerSteven Arcangeli <stevearc@stevearc.com>2023-11-18 00:40:15 -0800
commita36c68d2cd551e49883ddb2492c178d915567f58 (patch)
treec8636a4272962cc8c1841452ce783e2d3ddaab76 /lua/conform/formatters
parenteeef88849fb644d84a5856524adf10d0ad2d7cbe (diff)
fix: range format method for async formatters and injected
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r--lua/conform/formatters/injected.lua3
1 files changed, 3 insertions, 0 deletions
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,
}