From 627638808a819e5ef9cc0d24a0c1e59d1ac05de5 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Wed, 12 Jan 2011 18:17:42 -0500 Subject: giving capistrano files ruby highlighting --- vimrc | 3 +++ 1 file changed, 3 insertions(+) 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 * -- cgit v1.2.3