diff options
author | Teddy Wing | 2017-05-31 11:23:25 +0200 |
---|---|---|
committer | Teddy Wing | 2017-05-31 11:23:25 +0200 |
commit | bfd37103f1f7b1c6a642f338dc44863228d184e3 (patch) | |
tree | ea418e5eaad2dd5955e6a806cf8e41168809ebc6 /projects/stif.vim | |
parent | ebfdf07c819f195c1eccfb8d3ae08d92a2e66ef8 (diff) | |
download | dotvim-bfd37103f1f7b1c6a642f338dc44863228d184e3.tar.bz2 |
Add projects/stif.vim
A project-specific config for the STIF app. Set a custom RSpec command
for rspec.vim that runs the Spring preloader instead of calling RSpec
directly. This allows us to eliminate the slow-as-molasses Rails startup
time when iterating on code with tests.
Diffstat (limited to 'projects/stif.vim')
-rw-r--r-- | projects/stif.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/projects/stif.vim b/projects/stif.vim new file mode 100644 index 0000000..6428e53 --- /dev/null +++ b/projects/stif.vim @@ -0,0 +1,6 @@ +augroup stif + autocmd! + + autocmd BufRead,BufEnter $VIM_PROJECT_PATH_STIF/* + \ let g:rspec_command = "!bundle exec spring rspec {spec}" +augroup END |