From 6059d522eeb1b8aff6962f248bc79c0e454a5f6e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 2 Feb 2013 20:01:00 -0500 Subject: [PATCH] set .di files as "d" filetype --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 6663113..64017be 100644 --- a/vimrc +++ b/vimrc @@ -102,6 +102,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 BufRead,BufNewFile *.di set filetype=d " 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