Closed UnderCooled closed 9 months ago
ft('*'):lint(...)
In the screenshot, autocmd is generated fine:
But it won't be execute on :GuardFmt or on file save.
:GuardFmt
https://github.com/nvimdev/guard.nvim/blob/464578589f72a589036d682204454e6f0537c846/lua/guard/lint.lua#L13-L16
I think this if check skips the linter defined in ft('*').
ft('*')
In the screenshot, autocmd is generated fine:
But it won't be execute on
:GuardFmt
or on file save.https://github.com/nvimdev/guard.nvim/blob/464578589f72a589036d682204454e6f0537c846/lua/guard/lint.lua#L13-L16
I think this if check skips the linter defined in
ft('*')
.