Open rootwyrm opened 5 years ago
I'm happy to accept a pull request for this, but I'm not interested in solving this problem.
Would it be possible to simply implement an option to disable the indention from this plugin? I find the standard yaml indention logic to be enough but it would still be nice to have the highlighting from this plugin while not having to work around the indention.
Would it be possible to simply implement an option to disable the indention from this plugin?
Sounds like a reasonable balance between cost of implementation and end-effect. @pearofducks , would you accept pull request for such option?
This should already be doable with standard Vim config support. No support should be needed from this plugin to reset indentexpr
.
This one is really frustrating me.
Load the plugin how you like (I use pathogen still), then:
Create a new
tasks/main.yml
and start making some magic, only to find it breaking in the most frustrating ways.But we have
let g:ansible_unindent_after_newline = 1
so this should fix it, right? Wrong.More obnoxiously, this is unfixable without killing the plugin. Fix the broken indent, assuming it will reset position, and it does not. Instead it re-indents the whole thing back to 0 and just keeps breaking it over and over.