Move .editorconfig to editor/editorconfig
This commit is contained in:
parent
9157420670
commit
af0da0ddda
|
@ -12,7 +12,7 @@ insert_final_newline = true
|
|||
[{Vagrant,Cap,Rake,Gem}file]
|
||||
indent_size = 2
|
||||
|
||||
[*.{rb,cr,lua,y{a,}ml,json,toml,nim,coffee,css,s{a,c}ss,styl,slim,jade,pug,html}]
|
||||
[*.{el,rb,cr,lua,y{a,}ml,json,toml,nim,coffee,css,s{a,c}ss,styl,slim,jade,pug,html}]
|
||||
indent_size = 2
|
||||
|
||||
[*.go]
|
12
editor/editorconfig/install
Executable file
12
editor/editorconfig/install
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
brew install editorconfig
|
||||
;;
|
||||
linux*)
|
||||
if [[ -f /etc/arch-release ]]; then
|
||||
sudo pacaur --needed --noconfirm -S editorconfig-core-c
|
||||
fi
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue