Skip to content

Commit

Permalink
fix: injected formatter works on nightly (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Jan 9, 2024
1 parent 47ceff6 commit 229e9ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/conform/formatters/injected.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 229e9ab

Please sign in to comment.