On Wed, Nov 29, 2017 at 2:54 PM Peter Kokot <peterko...@gmail.com> wrote: > > Hello, > > I'm not sure if this has been discussed before, but I find these local > variables in C, H and other files a bit strange and bloated: > > /* > * Local variables: > * tab-width: 4 > * c-basic-offset: 4 > * End: > * vim600: noet sw=4 ts=4 fdm=marker > * vim<600: noet sw=4 ts=4 > */ > > Is there any chance to start omitting them and use a single > .editorconfig file instead or is this something that is a must have in > C projects of today? > > Thank you for some clarification on this :) > -- > Peter Kokot > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php
I use vim, and do not enable these per-file settings. I don't think any distributions enable them by default either. My opinion: I think we can get rid of them. I have used .editorconfig and .clang-tidy for other projects and liked it. I tried using it with tabs, and the experience seemed less polished but still worked. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php