On 02/07/16 10:38, Michel Dänzer wrote:
On 01.07.2016 23:11, Emil Velikov wrote:
On 28 June 2016 at 04:00, Michel Dänzer <[email protected]> wrote:

FWIW, +1 for adding .editorconfig files corresponding to the existing
.dir-locals.el files as a first step, so users of other editors can also
get the benefit of their code getting formatted correctly by default.

Sounds reasonable. Can I volunteer you for testing them in VIM, since
my editor does not have work with .editorconfig(s) yet :-)

Somebody who usually uses vim would be better suited for that.

I use Vim.  I can test it.

FWIW, below is the root .editorconfig I use with Mesa. It's not complete (it covers the files types I tend to touch.)

Jose




$ cat .editorconfig
# http://editorconfig.org

root = true

[*.{c,h,cpp,hpp}]
indent_style = space
indent_size = 3

[*.{markdown,md}]
trim_trailing_whitespace = false

[*.yml]
indent_style = space
indent_size = 2

[*.py,SCons*]
indent_style = space
indent_size = 4

[{Makefile,*.mk}]
indent_style = tab
indent_size = 8
tab_width = 8


_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to