icf files use cpp syntax

This commit is contained in:
Josh Holtrop 2012-12-11 11:23:36 -05:00
parent b3e7f536db
commit e26f68c43e

1
vimrc
View File

@ -98,6 +98,7 @@ if has("autocmd")
autocmd FileType xml setlocal sw=2 ts=2 sts=2 autocmd FileType xml setlocal sw=2 ts=2 sts=2
autocmd FileType yaml setlocal sw=2 ts=2 sts=2 autocmd FileType yaml setlocal sw=2 ts=2 sts=2
autocmd FileType text setlocal textwidth=78 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. " 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 " Don't do it when the position is invalid or when inside an event handler