Re: [PATCH] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Miguel Ojeda
On Fri, Jul 3, 2020 at 9:31 AM Danny Lin wrote: > > Most of the other exceptions can be accomodated for with more specific > rules below the base [*] section. I just went through most of the > kernel's files and added rules for the vast majority of the exceptinos > to the 8-column tab indent

Re: [PATCH] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Danny Lin
On Thursday, July 2, 2020 at 10:38 PM, Miguel Ojeda wrote: > Hi Danny, > > On Fri, Jul 3, 2020 at 2:16 AM Danny Lin wrote: > > +[*] > > +charset = utf-8 > > +end_of_line = lf > > While UTF-8 and LF are probably OK for all files, I am not 100% sure about: > > +insert_final_newline = true > >

Re: [PATCH] editorconfig: Add automatic editor configuration file

2020-07-02 Thread Miguel Ojeda
Hi Danny, On Fri, Jul 3, 2020 at 2:16 AM Danny Lin wrote: > > +[*] > +charset = utf-8 > +end_of_line = lf While UTF-8 and LF are probably OK for all files, I am not 100% sure about: > +insert_final_newline = true > +indent_style = tab > +indent_size = 8 for other languages and non-code files

[PATCH] editorconfig: Add automatic editor configuration file

2020-07-02 Thread Danny Lin
EditorConfig is a standard for defining basic editor configuration in projects. There is support available for 47 code editors as of writing, including both built-in and extension support. Many notable projects have adopted the standard already, including zsh, htop, and qemu. While this isn't a