From e26f68c43eeed28e8b861893ede12c4a6f0aea40 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 11 Dec 2012 11:23:36 -0500 Subject: [PATCH] icf files use cpp syntax --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 3cab318..40a753f 100644 --- a/vimrc +++ b/vimrc @@ -98,6 +98,7 @@ if has("autocmd") autocmd FileType xml setlocal sw=2 ts=2 sts=2 autocmd FileType yaml setlocal sw=2 ts=2 sts=2 autocmd FileType text setlocal textwidth=78 + autocmd BufRead,BufNewFile *.icf set syntax=cpp " 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