Update copyright year to 2018
[exim.git] / .editorconfig
1 # Common text-editor configuration for Exim
2 # http://editorconfig.org/
3 #
4 # This system sets attributes of the code results of editing, not of
5 # how you set up the editor to do some helpful things for you. It's
6 # deliberately limited, to be non-contentious and avoid bloat.
7 #
8 # In this file, we'll also collect _suggestions_ for text editor configs
9 # for various text editors, to better work with what passes for a common
10 # style in Exim. Use, or don't use, those as you see fit.
11
12 # top-most EditorConfig file
13 root = true
14
15 # Unix-style newlines with a newline ending every file
16 [*]
17 end_of_line = lf
18 insert_final_newline = true
19 trim_trailing_whitespace = true
20 indent_style = space
21 tab_width = 8
22
23 [*.{c,h}{,-*}]
24 indent_size = 2
25
26 [runtest]
27 indent_size = 2
28
29 # Tab indentation (no size specified)
30 [Makefile]
31 indent_style = tab
32
33 # vim
34 # ===
35 # try: set cinoptions=>1s,{1s
36 #
37 # More complete:
38 # if has("autocmd")
39 # au BufNewFile,BufRead */*exim*/src/* set noai nosmartindent expandtab cindent sw=2 cinoptions=>1s,{1s
40 # endif
41