[cairo] Appropriate vim modeline matching cairo coding style

Jjgod Jiang gzjjgod at gmail.com
Thu Nov 22 22:04:04 PST 2007


I'd like to do some cairo hacking, but since I'm using vim and CODING_STYLE
is really confusing, I did a quick search in src directory:

$ grep vim *
cairo-beos-surface.cpp:/* vim:set ts=8 sw=4 noet cin: */
cairo-os2-private.h:/* vim: set sw=4 sts=4 et cin: */
cairo-os2-surface.c:/* vim: set sw=4 sts=4 et cin: */
cairo-os2.h:/* vim: set sw=4 sts=4 et cin: */
cairo-svg-surface.c:/* vim: set sw=4 sts=4: -*- Mode: c; tab-width: 8;
c-basic-offset: 4; indent-tabs-mode: t; -*- */

Well, it turns out different sources have different styles, now, I really don't
know which one to follow. Could you guys please point out? Thanks.

- Jiang

More information about the cairo mailing list