aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-01-08 22:24:06 -0800
committerSteven Arcangeli <stevearc@stevearc.com>2024-01-08 22:24:06 -0800
commit229e9ab5d6e90bc5e6d24141dce3cc28ba95293a (patch)
tree4e6f150231dd8689d847f002c608c31d09c4d7d2
parent47ceff644e9d00872f410be374cc973eefa20ba9 (diff)
fix: injected formatter works on nightly (#270)
-rw-r--r--lua/conform/formatters/injected.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/conform/formatters/injected.lua b/lua/conform/formatters/injected.lua
index cc09479..ed27d91 100644
--- a/lua/conform/formatters/injected.lua
+++ b/lua/conform/formatters/injected.lua
@@ -148,9 +148,9 @@ return {
--- Disable diagnostic to pass the typecheck github action
--- This is available on nightly, but not on stable
- --- Stable doesn't have any parameters, so it's safe to always pass `false`
+ --- Stable doesn't have any parameters, so it's safe
---@diagnostic disable-next-line: redundant-parameter
- parser:parse(false)
+ parser:parse(true)
local root_lang = parser:lang()
---@type LangRange[]
local regions = {}