mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
chore(editorconfig): add configuration
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
~/.ack: ack
|
~/.ack: ack
|
||||||
~/.ag: ag
|
~/.ag: ag
|
||||||
~/.ctags: ctags
|
~/.ctags: ctags
|
||||||
|
~/.editorconfig: editorconfig
|
||||||
~/.wget: wget
|
~/.wget: wget
|
||||||
~/.zshrc: zshrc
|
~/.zshrc: zshrc
|
||||||
|
|
||||||
|
|||||||
24
editorconfig
Normal file
24
editorconfig
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# http://editorconfig.org
|
||||||
|
|
||||||
|
# Root file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{py,md,rst,sh,c,h}]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.{md,markdown,pandoc}]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
Reference in New Issue
Block a user