We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileType *
ft('*'):lint(...)
In the screenshot, autocmd is generated fine:
But it won't be execute on :GuardFmt or on file save.
:GuardFmt
guard.nvim/lua/guard/lint.lua
Lines 13 to 16 in 4645785
I think this if check skips the linter defined in ft('*').
ft('*')
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
In the screenshot, autocmd is generated fine:
![image](https://private-user-images.githubusercontent.com/161503/296208335-b61adae7-2dc5-4428-a37e-51d6dfc3ae20.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzM4MTYsIm5iZiI6MTczOTA3MzUxNiwicGF0aCI6Ii8xNjE1MDMvMjk2MjA4MzM1LWI2MWFkYWU3LTJkYzUtNDQyOC1hMzdlLTUxZDZkZmMzYWUyMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwMzU4MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MDJjMjg3MzUxMDlkZGUzMTA0MTY3NDBkMzEwNDhmODllZDI0MWZiZDA5ZGM0Y2NjNTZlNDBiNDk1NjA2MzAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.W3EQpI5koSG2ywpsagBtN9bKg0r9SWSw0JPEOVP_O5M)
But it won't be execute on
:GuardFmt
or on file save.guard.nvim/lua/guard/lint.lua
Lines 13 to 16 in 4645785
I think this if check skips the linter defined in
ft('*')
.The text was updated successfully, but these errors were encountered: