aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-07-31 18:04:36 +0200
committerTeddy Wing2017-07-31 18:04:36 +0200
commitcfd937a674ddbce7222dd25944ddc5c0c59ebc0c (patch)
treed76d00f39fd5b404d35c3675825e5e49e6051088
parent9f2042413e5983ee833285807a923ffee01c72ff (diff)
downloaddotvim-cfd937a674ddbce7222dd25944ddc5c0c59ebc0c.tar.bz2
projects/af83.vim: Move `g:rspec_command` setting from stif.vim here
Instead of using Spring for RSpec only on the STIF project, use it for all af83 projects.
-rw-r--r--projects/af83.vim3
-rw-r--r--projects/stif.vim6
2 files changed, 3 insertions, 6 deletions
diff --git a/projects/af83.vim b/projects/af83.vim
index 8788a06..2617c2e 100644
--- a/projects/af83.vim
+++ b/projects/af83.vim
@@ -7,4 +7,7 @@ augroup af83
autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AF83/*
\ nnoremap <buffer> <leader>mk :mksession! vimsession<cr>
+
+ autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AF83/*
+ \ let g:rspec_command = "!bundle exec spring rspec {spec}"
augroup END
diff --git a/projects/stif.vim b/projects/stif.vim
deleted file mode 100644
index 6428e53..0000000
--- a/projects/stif.vim
+++ /dev/null
@@ -1,6 +0,0 @@
-augroup stif
- autocmd!
-
- autocmd BufRead,BufEnter $VIM_PROJECT_PATH_STIF/*
- \ let g:rspec_command = "!bundle exec spring rspec {spec}"
-augroup END