feat: auto resolve project root

This commit is contained in:
hophacker 2022-03-13 00:19:17 +08:00
parent d1825e8809
commit 6fe0516192
2 changed files with 3 additions and 4 deletions

View File

@ -34,7 +34,9 @@
enable_ale = true enable_ale = true
bootstrap_before = "paiyou#before" bootstrap_before = "paiyou#before"
bootstrap_after = "paiyou#after" bootstrap_after = "paiyou#after"
project_rooter_automatically = 0 project_auto_root = true
project_rooter_outermost = false
project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/', '!packages/']
# Enable autocomplete layer # Enable autocomplete layer
[[layers]] [[layers]]

View File

@ -219,9 +219,6 @@ alias emacs="env LC_CTYPE=zh_CN.UTF-8 emacs"
# rails # rails
alias rails_setup='rails db:reset; rails db:seed RAILS_ENV=test' alias rails_setup='rails db:reset; rails db:seed RAILS_ENV=test'
alias rails_test='rspec && rubocop' alias rails_test='rspec && rubocop'
alias rubocop='rubocop --require rubocop-performance --format progress'
alias psetup='rake parallel:setup'
alias prspec='rake parallel:spec'
alias start_dropbox='~/.dropbox-dist/dropboxd' alias start_dropbox='~/.dropbox-dist/dropboxd'
alias unzip_CN="unzip -O GB18030" alias unzip_CN="unzip -O GB18030"