Skip to content

Commit 6208aef

Browse files
authored
feat(health): set conform-info filetype in ConformInfo (#812)
Problem: No filetype available for the user to set options in health windows Solution: Set "conform-info" filetype in the show_window function
1 parent afce105 commit 6208aef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/conform/health.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ M.show_window = function()
205205
hl_group = group,
206206
})
207207
end
208+
209+
vim.bo[bufnr].filetype = "conform-info"
208210
end
209211

210212
return M

0 commit comments

Comments
 (0)