mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-06-02 03:41:34 +03:00
Add editorconfig config file
See https://editorconfig.org/ for details. (neo)vim: https://github.com/editorconfig/editorconfig-vim emacs: https://github.com/editorconfig/editorconfig-emacs Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
188d0785e1
commit
a7d2fe9503
18
.editorconfig
Normal file
18
.editorconfig
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
max_line_length = 80
|
||||||
|
end_of_line = lf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = false
|
||||||
|
|
||||||
|
[*.{c,h}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
tab_width = 4
|
||||||
|
|
||||||
|
[{CMakeLists.txt,*.cmake}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
tab_width = 4
|
Loading…
x
Reference in New Issue
Block a user