From 130147f057ee033f7dceba076d4197b91093e1b5 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 11 Jul 2013 11:07:29 -0400 Subject: [PATCH] consider "@" and "?" word characters for Ruby sources --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 8b0a7b7..70ae899 100644 --- a/vimrc +++ b/vimrc @@ -108,6 +108,7 @@ if has("autocmd") autocmd FileType text setlocal textwidth=78 autocmd BufRead,BufNewFile *.icf set syntax=cpp autocmd FileType ruby setlocal sw=2 ts=2 sts=2 + autocmd FileType ruby set iskeyword+=@-@,? autocmd BufRead,BufNewFile *.di set filetype=d if has("gui_running")