C source code

If you use vim you'll find a  modeline in many files that will help you to correct your code before sending patches.

vim:ts=8 sw=3 sts=3 expandtab cino=>5n-3f0^-2{2(0W1st0

EDC (Edje) source code

To have syntax highlighting for .edc-files in vim you need a syntax description file. You can find one in SVN trunk/edje/data/edc.vim. Copy (or symlink) this file to ~/.vim/syntax/edc.vim. Now you can switch on syntax highlighting, whenever you edit an .edc-file with:

:set filetype=edc

Or if preferred you can make the following addition to ~/.vim/filetype.vim:

augroup filetypedetect
au BufNewFile,BufRead *.edc setfiletype edc
augroup END

This will allow Vim to detect the .edc extension and automatically set the file type.

For Vim 7.0 and newer versions, a vimball with additional syntax highlighting support, as well as indentation and code completion can be downloaded from  http://www.vim.org/scripts/script.php?script_id=1702