aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-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 *