make life easier for people who have EditorConfig plugin

If a person has the EditorConfig plugin,
this overrides default editor configs to play nicely with go files
and the Makefile.
This commit is contained in:
Paul Morgan
2016-04-26 00:40:35 +00:00
parent d0c9b7170c
commit 7788f91dd5

19
.editorconfig Normal file
View File

@@ -0,0 +1,19 @@
; This file is for unifying the coding style for different editors and IDEs.
; Plugins are available for notepad++, emacs, vim, gedit,
; textmate, visual studio, and more.
;
; See http://editorconfig.org for details.
# Top-most EditorConfig file.
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.go]
indent_style = tab
[Makefile]
indent_style = tab