forked from tony/vim-config-framework
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
46 lines (40 loc) · 987 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
;.editorconfig
root = true
[**.js]
; Path to the external file format
; The default is taken from the lib folder inside the folder extension.
; path=~/.vim/bundle/vim-jsbeautify/plugin/lib/js/lib/beautify.js
; Javascript interpreter to be invoked by default 'node'
bin=node
indent_style = space
indent_size = 4
jslint_happy = 1
keep_array_indentation = 1
keep_function_indentation = 1
space_before_conditional = 1
break_chained_methods = 1
chain_extra_indentation = 1
indent_style = space
preserve_newlines = 1
max_preserve_newlines = 2
[**.json]
indent_style = space
indent_size = 2
[**.css]
indent_style = space
indent_size = 2
[**.html]
; Using special comments
; And such comments or apply only in global configuration
; So it's best to avoid them
;vim:max_char=78:brace_style=expand
indent_style = space
indent_size = 2
[**.py]
indent_style = space
indent_size = 4
[**.php]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true