Skip to content

Commit

Permalink
Config indentation and editorconfig (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidyjames authored and danirabbit committed Apr 12, 2018
1 parent efaeec1 commit 0cb6354
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig <http://EditorConfig.org>
root = true

# elementary defaults
[*]
charset = utf-8
end_of_line = lf
indent_size = tab
indent_style = space
insert_final_newline = true
max_line_length = 80
tab_width = 4

[{*.xml,*.xml.in,*.yml}]
tab_width = 2

10 changes: 5 additions & 5 deletions src/Config.vala.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Build {
public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@";
public const string LANG_LIST = "@LANG_LIST@";
public const string PREFERRED_LANG_LIST = "@PREFERRED_LANG_LIST@";
public const string SQUASHFS_PATH = "@SQUASHFS_PATH@";
public const string MANIFEST_REMOVE_PATH = "@MANIFEST_REMOVE_PATH@";
public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@";
public const string LANG_LIST = "@LANG_LIST@";
public const string PREFERRED_LANG_LIST = "@PREFERRED_LANG_LIST@";
public const string SQUASHFS_PATH = "@SQUASHFS_PATH@";
public const string MANIFEST_REMOVE_PATH = "@MANIFEST_REMOVE_PATH@";
}

0 comments on commit 0cb6354

Please sign in to comment.