3 ms·
You mean they include editor configuration in all of their source code files? Not just some special cases?
by dmix 7y ago
You mean they include editor configuration in all of their source code files? Not just some special cases?
- jalgos_eminator 7y ago# vim:set columns=96 expandtab nocindent nosmartindent ff=unix: This is in basically every source code file just below the shebang.
- dmix 7y agoI've never seen anyone do this. There are so many better solutions to this problem and it's a heavy-handed/messy solution that is difficult to change/maintain. I'd push back on this hard if I was told to do it.
- jalgos_eminator 7y agoI'm not told to do it, but I don't write hardly any of the code in the repo. So when I have to go inspect one of their source files, which I do many times per day, then it gets me. Usually if I'm on some VM that doesn't have my own .vimrc in it. It is what it is, just a minor annoyance and a few key strokes to fix (":set columns=xxx", then "C-w =").