-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Take i.e. this example as a minimal reproduction:
---
- name: transport cert installed
copy:
dest: /some/path/transport.crt
src: "some.crt"There are two errors in this snippet:
- name is starting with a lowerase character
modeis missing
But I'm seeing only one:
So I add mode, save and this is what I'm seeing:
I see two exclamation points but I don't see anywhere what the problem is. When I change "t" to uppercase and save the file, everything looks OK.
Real problem is, that with more complex examples, it kinds of totally breaks and starts showing errors in many places without real reason. Only thing that works for me is to revert buffer after saving, which I'm doing now, but that isn't great experience.
Disclaimer: It is definitely possible that this is how flymake is supposed to work and I just don't now something relevant, but I didn't find anything related while quick checking flymake doc. I never used it before.
I would be glad even for ideas/workaround as I have tons of files to fix ahead and I would like to improve the workflow before I get to it.