aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matthew.j.singleton@gmail.com>2011-01-12 18:17:42 -0500
committerMatt Singleton <matthew.j.singleton@gmail.com>2011-01-12 18:17:42 -0500
commit627638808a819e5ef9cc0d24a0c1e59d1ac05de5 (patch)
treeaaf5d229ee1611fbea96532d794ef5cc1db686a1
parent76d9112b53379993a06eeb209fc594c6b8f6ed40 (diff)
giving capistrano files ruby highlighting
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 1c824bc..e158642 100644
--- a/vimrc
+++ b/vimrc
@@ -58,6 +58,9 @@ if has("autocmd")
au BufRead,BufNewFile *.zsh-theme setlocal filetype=zsh
au BufRead,BufNewFile *.zsh setlocal filetype=zsh
+ " ruby files
+ au BufRead,BufNewFile *.cap setlocal filetype=ruby
+
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
au BufReadPost *