summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorMax Wu2017-04-10 11:41:33 +0800
committerGitHub2017-04-10 11:41:33 +0800
commit5ecea7e1183e4efce445967318d6c43c223504f1 (patch)
treef6e426f7ed9d10d77c4dbbaa8d1906d17d1e97c2 /.editorconfig
parent3ef22fd303d46c53f5937649c242277a22ffd940 (diff)
parenta4385ec19dc3ad89a8e084f9bce560c7197275a8 (diff)
Merge pull request #417 from hackmdio/refactor
Refactor editor cont.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index e271be73..75e2a698 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,12 +1,16 @@
root = true
-# Tab indentation
[*]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
+[{*.html,*.ejs}]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
[*.md]
trim_trailing_whitespace = false