Closed ghost closed 4 years ago
How did this bite you? Why would you want this?
I’d really like to know if other people experience this issue.
So, the problem was that when I was editing postgresql.conf.j2, vim loaded jinja syntax, but didn't syntax for conf.
With this patch, it will load conf syntax, and then jinja. Please check attached config files. To see the difference this pull request makes.
I don't think this is a common enough use case to support, sorry!
While I understand that my use case is somewhat limited, what is the negative of implementing it? As far as I can tell all the functionality that was there will still be there, it's just a bit of new functionality that is being added without any damage to existing one.
For one, I don’t want to have unexpected behavior for people who have files with file names like that. For two, I don’t want to maintain unneeded code that adds complication and may need bug fixes.
But thank you for your pull request! I’m always grateful to receive constructive contributions even if they don’t seem like a good fit for this project.
This did bite us, when we were editing loads of whatever.conf.j2 files. With this change, it will work nicely.