Move .editorconfig to editor/editorconfig

This commit is contained in:
Henrik Lissner 2017-03-19 01:27:26 -04:00
parent 9157420670
commit af0da0ddda
2 changed files with 13 additions and 1 deletions

View file

@ -12,7 +12,7 @@ insert_final_newline = true
[{Vagrant,Cap,Rake,Gem}file] [{Vagrant,Cap,Rake,Gem}file]
indent_size = 2 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 indent_size = 2
[*.go] [*.go]

12
editor/editorconfig/install Executable file
View 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