key: restore proper support of keysym resolution
[awesome.git] / STYLE
blob00aba68a3d70d9d54192564e4230d52a9476471d
1 If you intend to patch and contribute to awesome, please respect the
2 following guidelines.
4 Imitate the existing code style. For concrete rules:
6  - Use 4 spaces indentation, do not use tabulator characters;
8  - Place braces alone on new lines, and do not place braces for single
9    line statement where it is not needed, i.e no:
10    if(bla) {
11        x = 1;
12    }
14  - Do not put a space after if, for, while or function call statements;
16  - The preferred line length is 80 characters;
18  - Use /* */ for comments;
20  - Use the API: there's a list of a_*() function you should use instead
21    of the standard libc ones. There is also common API for linked list,
22    tabulars, etc;
24  - Be clear in what you do;
26  - Write documentation for any new functions, options, whatever.
28 A vim modeline is set in each file to respect this.